View Full Version : php mysql error, whats this mean
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?
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?
06-23-2006, 06:06 PM
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
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.