MySQL Forums
Forum List  »  PHP

Re: mysql_connect() socket issue
Posted by: James King
Date: January 08, 2007 12:36PM

Further info:

tried the following command:

mysql -h localhost -P 3306 -u username -p

entered the password and got the following response:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (13)

Options: ReplyQuote

Written By
January 08, 2007 12:04PM
Re: mysql_connect() socket issue
January 08, 2007 12:36PM
January 08, 2007 01:14PM
January 10, 2007 01:17PM

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.