Neville,
Tuesday, May 28, 2002, 11:23:06 AM, you wrote:

NL> this is the error message I get 
NL>  "Can't connect to local MySQL server through socket
NL> '/var/lib/mysql/mysql.sock' (2)"

NL> Why is this ?

Check permissions on the MySQL datadir. Look also into the .err file
in the MySQL data dir you can find possible causes of error there.

NL> Here is a copy of the my.cnf file

NL> [mysqld]
NL> datadir=/var/lib/mysql
NL> socket=/var/lib/mysql/mysql.sock

NL> [mysql.server]
NL> user=mysql
NL> basedir=/var/lib

NL> [safe_mysqld]
NL> err-log=/var/log/mysqld.log
NL> pid-file=/var/run/mysqld/mysqld.pid





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to