I have MySQL running on our server with Apache and php4.
If I try connecting to MySQL server via php I get the error:
Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (111) in...
The socket is there and is created when MySQL
Make sure the directory /var/lib/mysql is world readable and searchable.
Craig Pickup wrote:
I have MySQL running on our server with Apache and php4.
If I try connecting to MySQL server via php I get the error:
Warning: MySQL Connection Failed: Can't connect to local MySQL server