Mysql cannot connect!
I'm sure someone's already got a problem with mysql not connecting. The thing with my problem is that I deleted the /tmp and var/tmp directory.The error message:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/tenshigi/public_html/b2-include/b2functions.php on line 86
Can't connect to the database server. MySQL said:
Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)
I did tried the command:
ln -s /var/lib/mysql/mysql.sock /var/tmp/mysql.sock
As you probably know, it didn't work. Any ideas on how to get mysql going?
Thanks!
