adam84 Posted July 12, 2007 Share Posted July 12, 2007 When i go to my site, i get this error <META NAME="KEYWORDS" CONTENT=" Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /home/ace84/public_html/index.php on line 16 I cannot connect to the database because: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) 1 min the page we working good, then i refreshed it and this error have been popping up. Has anyone overcome this error before? Link to comment https://forums.phpfreaks.com/topic/59657-mysql-connect-error/ Share on other sites More sharing options...
fenway Posted July 12, 2007 Share Posted July 12, 2007 So many times that the mysql manual has a whole section on it. Link to comment https://forums.phpfreaks.com/topic/59657-mysql-connect-error/#findComment-296590 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.