Hi, guys I have the following error after a fresh
instalation: Warning: mysql_connect(): Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (13)
in /var/www/html/vegadns/src/connect.php on line 28
error connecting to database
if I connect from the comand line with the same/user pass like in config.php it works.
thank you.
Perhaps PHP is looking to the wrong socket file. Is /var/lib/mysql/mysql.sock the right socket file? If not, I think this is configured in php.ini. Change it there.
Regards,
Bill
