...

View Full Version : php mysql error, whats this mean



jeromepelletier
06-23-2006, 04:52 PM
PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/*****/public_html/mysqlconnection.php on line 2


whats this error mean?

GJay
06-23-2006, 05:02 PM
Surprisingly enough, it's saying that mysql can't connect through the socket.
Have you forgotten to specify a hostname? (localhost for the same machine), or are you wanting to connect via sockets, and haven't setup mysql to accept such connections?

arnyinc
06-23-2006, 06:06 PM
http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html

jeromepelletier
06-23-2006, 06:54 PM
i can connect fine..just not sure why its doing that..nothing is wrong on my page it loads fine :S that just shows up in my error_log file



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum