I have Apache, PHP4.0.5 and MySQL running on Red Hat 7.1.
When I try to get connected to MySQL through PHP I get the following error message:
"Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /var/www/html/ch11/list_db.php on line 4"
The path to mysql sock, apparently, needs to be edited. Where can I edit or update this information?
Your help will be appreciated.
Regards,
Matt
When I try to get connected to MySQL through PHP I get the following error message:
"Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /var/www/html/ch11/list_db.php on line 4"
The path to mysql sock, apparently, needs to be edited. Where can I edit or update this information?
Your help will be appreciated.
Regards,
Matt