A
Anonymous
Guest
I have PHP, MysQL installed
MySQL works well on the console but when i attempt to connect to MySQL via PHP I get this error message
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Can anybody help :?:
Here is some info from phpinfo()
MYSQL_SOCKET : /tmp/mysql.sock
MySQL works well on the console but when i attempt to connect to MySQL via PHP I get this error message
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Can anybody help :?:
Here is some info from phpinfo()
MYSQL_SOCKET : /tmp/mysql.sock