Hello,
I've just installed a porgram that uses PHP4 to access a MySQL database. The
problem is that I get the following error when I try to access the PHP file
via web :
Warning: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (111) in /usr/local/hlstats/hlstatsinc/db.inc
on line 65
The strange thing about this is that MySQL leaves the mysqld.sock in /tmp,
not in the directory that the error reports. I've just installed MySQL
v3.23, and I had v3.22 before, which had it's sock file on /var/run/mysqld.
�Could it be possible that PHP is fetching an old config file somewhere? I
read in another forum that this could also happen if you used an old MySQL
client with a newer version, �Could this be the case? �How does PHP
comunnicate with MySQL?
Thank you for your help.
Greetings
Bruno ([EMAIL PROTECTED])
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]