MySQL Forums
Forum List  »  Install & Repo

Re: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (11)
Posted by: richard houghton
Date: February 14, 2005 07:54PM

I too had this problem

Turn out it is a rights issue.
The error message might be a bit misleading.
error message correct in the fact that it can not make the connection.
It can't make the connect because the service is not running!!!
The service is not running because when it launch it was unable to
establish/write a PID . !

Check where your system writes its PIDs for the MySql service.
the directory should be at least user=myslq group=mysql.

hope this helps some

Options: ReplyQuote


Subject
Written By
Posted
Re: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (11)
February 14, 2005 07:54PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.