Fout
MySQL retourneerde:
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
This is the error I get when using phpMyAdmin.
After that I tried a simple script to test if it would connect but got the same error.
It doesn't matter if I try from the server itself or from another pc in my lan or outside my lan.
The socket and port are correct in my php.ini
In my php.ini at mysql.default_socket I filled the socket path that is: /var/run/mysql/mysql.sock
And at the mysql.default.port: 3306 wich is the correct port
Offcourse I checked if it is running.
I also checked the rights of the mysql socket wich are rwxrwxrwx so php can read it.
I use:
OpenBSD 3.0
MySQL 3.23.54
PHP 4.2.3
On http://securizone.org/info.php you can see my phpinfo().
Hopefully someone can help me I'm going crazy here :S