Click to See Complete Forum and Search --> : MySQL cannot connect?


ikemup
05-05-2001, 09:38 PM
using redhat 7.0... when trying to connect to the mysql server using command:

mysql -h localhost

i always receive the error:

Error2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

this file does not exist, should it be created?...

i know that the client works fine, i've used it to connect to other remote MySQL servers... is this a problem related to installation?.. the server was installed when i installed redhat, along with apache - which works fine...

by the way, i'm attempting to migrate from a complete microsoft solution to complete linux, maybe that'll motivate you veterans into responding...

so far, i love linux!

thanks in advance!

Tyr-7BE
05-06-2001, 03:35 AM
Have you tried telling it to create that file? Maybe you'd have more luck in General Linux Questions...

ikemup
05-06-2001, 10:08 AM
thanks, i will try that...