'ello all.
I'm running Debian etch and have PHP5, PDO, MySQL5 and Apache2 mostly all running and working happily together.
For the life of me I can't get PDO MySQL to work.
I keep getting the error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
My socket is /tmp/mysql.sock
In phpinfo() my MYSQL_SOCKET is /var/run/mysqld/mysqld.sock as well as MYSQLI_SOCKET
How can I change these?
mysql.default_socket and mysqli.default_socket both correctly show /tmp/mysql.sock
TIA!
edit
I can connect and selected databases with mysql_connect ... PDO is the culprit here.