  | | | Subject: Re: Please help to solve a serios problem | Subject: Re: Please help to solve a serios problem 2007-11-06 - By hwigoda@(protected)
Back i believe you need to have root create the file /var/lib/mysql/mysql.sock and then make it readable and writable by the user that owns mysql.
You can make that same file owner by the user that runs mysql.
-- --Original Message-- -- >From: Ali Nebi <anebi@(protected)> >Sent: Nov 6, 2007 9:24 AM >To: mysql@(protected) >Subject: Please help to solve a serios problem > >Hi, i need of help for a serios problem. > >We have installed mysql 5 and we are using InnoDB engine. OS is CentOS >5, x86. > >Our problem is this. >We get this message in the log: > > >ERROR 2002 (HY000): Can't connect to local MySQL server through socket >'/var/lib/mysql/mysql.sock' (111) >ERROR 2002 (HY000): Can't connect to local MySQL server through socket >'/var/lib/mysql/mysql.sock' (111) > >The problem is that mysql make recovering the database, we are >restarting whole server and it crash again. It continue to crash. We >tried to recover manually database, but it continue to crash. What we >can do to solve this problem? > >We need to solve this problem urgently. > >Thanks in advanced! > >Regards, Ali Nebi! > > >-- >MySQL General Mailing List >For list archives: http://lists.mysql.com/mysql >To unsubscribe: http://lists.mysql.com/mysql?unsub=hwigoda@(protected) >
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=mysql@(protected)
|
|
 |