Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-25-2008, 09:13 PM
|
#1
|
Member
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Rep:
|
Cannot connect to mysql server
I've just installed a mysql gui - windows app run using wine.
It starts up fine, but when I try to connect to a database I get the error
Quote:
Error No.2003
Can't connect to Mysql server on 'localhost' (10061)
|
(the gui is SQLyog Community Edition)
I believe the mysql permissions have been taken care of. I can log into Mysql and access the database from the konsole.
What am I missing?
Gary
|
|
|
11-26-2008, 02:37 AM
|
#2
|
Member
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806
Rep:
|
It could be that your mysql is only listening to the unix socket, check to see if it is listening to TCP on the localhost. But why are u using sqlyog when mysql provide a similar tool that works on linux.
|
|
|
11-26-2008, 02:42 AM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You may have the same tools with the mysql-gui-tools package. For adninistration, mysql-administrator is very good. Also check if the firewall on either the client or server is blocking traffic. Also check if the mysql service is running on the server.
Last edited by jschiwal; 11-26-2008 at 02:43 AM.
|
|
|
11-26-2008, 07:56 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
You can open up a terminal and type "mysql" to open the command line client, if this errors the error message should supply better information, if not then this might be a bit of a tricky one.
|
|
|
11-26-2008, 08:03 AM
|
#5
|
Member
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806
Rep:
|
@r3sistance now why would he do that ? He has already stated in the ticket that he can connect from the console.
|
|
|
11-26-2008, 11:16 AM
|
#6
|
Member
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Original Poster
Rep:
|
Quote:
Originally Posted by datopdog
But why are u using sqlyog when mysql provide a similar tool that works on linux.
|
I took a look at that, and it looked like it would take a master rocket scientist to install it
Quote:
Originally Posted by jschiwal
Also check if the firewall on either the client or server is blocking traffic. Also check if the mysql service is running on the server.
|
Mysql Client and server are both running on the same host. Since I can access from console, what does the firewall have to do with it?
Quote:
Originally Posted by r3sistance
You can open up a terminal and type "mysql" to open the command line client, if this errors the error message should supply better information, if not then this might be a bit of a tricky one.
|
If you will read my original post, you will see that I stated that I had NO trouble accessing mysql from a console
Last edited by garyg007; 11-26-2008 at 11:22 AM.
|
|
|
11-27-2008, 03:36 AM
|
#7
|
Member
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806
Rep:
|
Have you checked if your server is binding to TCP ?
|
|
|
11-28-2008, 10:37 AM
|
#8
|
Member
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Original Poster
Rep:
|
Quote:
Originally Posted by datopdog
Have you checked if your server is binding to TCP ?
|
How do I do that?
However, I am in the process of removing all reference of mysql from my system and am going to start over installing mysql.
I tried to install mysql-qui-tools, and ran into a bit of a mess. Some of the pre-reqs were available as slackbuilds and some were not. Mysql is not available as slackbuild. Where a slackbuild was not available I installed from source - using "checkinstall" to create a slackware package. Some worked some did not. So what I ended up with was a lot of stuff that had been installed from slackbuilds, and source and some of the source using checkinstall and some using "make install" When I got done I ended up not being able to access mysql from either the mysql-guy or from command prompt.
Gary
|
|
|
All times are GMT -5. The time now is 07:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|