Solved

ODBC Connection to MYSQL "Request returned with SQL_Error"

Posted on 2014-02-19
3
2,583 Views
Last Modified: 2014-03-06
Hi - I'm hoping someone can help me.

I am running a Windows 7 32 bit workstation and I am trying to establish an ODBC connection to a MySQL database running on a Linux box.

I am able to connect using a similar workstation and the same ODBC settings and driver, but on this PC I get the following error when I try to connect:

Request returned with SQL Error.

Any help would be greatly appreciated.

Thanks,
John
0
Comment
Question by:johnlschmidt2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 43

Accepted Solution

by:
Rob earned 250 total points
ID: 39872844
First thing that comes to mind is a firewall issue. Can you disable the firewall on the Windows machine and try again?
0
 
LVL 13

Assisted Solution

by:AielloJ
AielloJ earned 250 total points
ID: 39892114
johnlschmidt2,

Try turning off the firewall on the PC and see if that changes things.  Also, does the mySQL database allow access from all IP's, a single IP, or a range of IP's?  Same for usernames.

AielloJ
0
 

Author Comment

by:johnlschmidt2
ID: 39910411
Thanks for the suggestions. It turned out to be a network security issue on the server housing the SQL database.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question