Solved

Starting ODBC Drivers in Linux

Posted on 2006-06-12
3
2,045 Views
Last Modified: 2010-05-18
My company had a power outage a couple of weeks ago.  After restarting the Linux Server, I noticed that any time I attempt to run certain MySQL applications, I receive a Runtime Error '-2147467259 (80004005) [mySQL] [ODBC 3.5.1 Driver] Can't connect to MySQL Server on MySQL' on the PC attempting to running the job.  

Can anyone tell me how to restart ODBC on a Linux Server?  Please HELP this non-Linux guy.

Thanks,
jtb
0
Comment
Question by:ILLMO
  • 2
3 Comments
 
LVL 24

Expert Comment

by:fridom
ID: 16886032
ODBC does not need any special restart. The proper odbc.ini is enough.
Can you connect to MySQL via net?

Friedrich
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
ID: 16886096
I presume that you are connecting to the mySQL database on a linux server, from a Windows PC (Which is configured to connect to the mySQL database using an odbc connection?

Can you check that the mySQL daemon is running on the server. For Redhat (and similar SysV init systems):

service mysqld status

If it's not running, then:

service mysqld start

If that isn't the problem, can you tell us what version of linux it is, and preferably the output from:

uname -a

Also a little bit more about the setup might be useful.

HTH:)



0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16886139
To test whether the server is connectable from the windows PC, open up a command prompt, and type:

>telnet ww.xx.yy.zz 3306

If you get a response similar to:

(
 3.23.58 9"=LG^&A☻

Connection to host lost.

C:\tmp>

Then it is possible to connect to the mySQL server, and the network and firewall settings are OK.

HTH:)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux ssh 4 59
VirtualBox in Fedora 25 Linux:  Unable to Install OS 11 153
Python variable _ manually assigned 9 66
Use CRON to save a copy of an open file 1 23
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now