Computing.Net > Forums > Linux > Can't connect to local MySQL server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Can't connect to local MySQL server

Reply to Message Icon

Name: shriniket
Date: July 31, 2003 at 13:58:14 Pacific
OS: red hat 9
CPU/Ram: amd/512 mb
Comment:

I just installed the RH9 as a server and included all the packages. When i try to connect to mysql it gives me this error "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" Anyone know how to solve this problem?
Thanks in advance



Sponsored Link
Ads by Google

Response Number 1
Name: nelfer
Date: July 31, 2003 at 15:14:10 Pacific
Reply:

Make sure mysql service is running

/sbin/service mysqld status

if not, then do:

/sbin/service mysqld start



0

Response Number 2
Name: shriniket
Date: July 31, 2003 at 15:43:29 Pacific
Reply:

Thanks nelfer, I started the mysql server as you said and it works fine now.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Can't connect to local MySQL server

ERROR 2002: Can't connect to local www.computing.net/answers/linux/error-2002-cant-connect-to-local-/26637.html

MySQL, Can't cobnect to.. www.computing.net/answers/linux/mysql-cant-cobnect-to/20022.html

MySql not connecting www.computing.net/answers/linux/mysql-not-connecting/9843.html