Hi, In /etc/my.cnf you must put the right path to this file. E.g. [mysqld] datadir=/var/lib/mysql socket=/tmp/mysql.sock .....
Or if you don't want to make changes int my.cnf file you can connect using : mysql -S /tmp/mysql.sock Regards, Gelu _____________________________________________________ G.NET SOFTWARE COMPANY Permanent e-mail address : [EMAIL PROTECTED] [EMAIL PROTECTED] ----- Original Message ----- From: "melissa allman " <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 21, 2002 6:01 PM Subject: using mysql successfully for 2 years-now getting connection error > Hi, > I have been running MYSQL without a problem for 2 years. > Today I received a message as follows: > ERROR 2002: > Can't connect to local MYSQL server through socket /tmp/mysql/sock(111) > Did some preliminary search on message on MYSQL.COM site. > This file does exist on server but appears to be empty. > I tried to find documentation on what mysql.sock should contain. > Can anyone direct me to what mysql.sock's config should be. > I do have backup and that will be my next step. > I think somehow this got corrupted but am only trying to get the server back up at this point. > Can't get the daemon to run-Starting MYSQL but it keeps ending. > Appreciate whatever you have. > Thanks, > Melissa > -- > __________________________________________________________ > Download the FREE Opera browser at www.opera.com/download/ > > Free OperaMail at http://www.operamail.com/ > > Powered by Outblaze > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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