Dear Friends, I am new user of MySQL and whenever I type mysql to start the ware it simply states -- Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock'. I know I am doing something very wrong here and mabe some of you might be able to help me solve this problem. I am running a SuSE Linux 8.2 version AMD Duron machine and already have a subscription to my ISP to access their database. ALso, the file mysql.sock does not exist in the mysql folder. Thanking you all very much for your kind help. Sincerely, ABHIJIT NAIK
On Saturday 31 May 2003 02:34 pm, ABHIJIT NAIK wrote:
Dear Friends,
I am new user of MySQL and whenever I type mysql to start the ware it simply states -- Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock'. I know I am doing something very wrong here and mabe some of you might be able to help me solve this problem.
I am running a SuSE Linux 8.2 version AMD Duron machine and already have a subscription to my ISP to access their database.
ALso, the file mysql.sock does not exist in the mysql folder.
Thanking you all very much for your kind help.
Sincerely, ABHIJIT NAIK
Is it in tmp/mysql.sock? try find / -name mysql.sock Either way it should be SOMEWHERE On your filesystem and you can specify which socket to connect when you use the mysql command. Try man mysql or mysql -h or mysql --help. Good luck, im really tired at hte moment so can't go through a full explanation but I hope that gets you going in the right direction. ---------------------- Eric Bambach Eric@CISU.net ----------------------
Eric wrote:
On Saturday 31 May 2003 02:34 pm, ABHIJIT NAIK wrote:
Dear Friends,
I am new user of MySQL and whenever I type mysql to start the ware it simply states -- Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock'. I know I am doing something very wrong here <snip>
Is the mysql daemon running? As root do a 'rcmysql status' this should return 'running'. If it doesn't then the daemon needs to be started with 'rcmysql start' Steve
participants (3)
-
ABHIJIT NAIK
-
Eric
-
Stephen