You actually solved the problem in your first post. Think chroot. 
Basically, what we need to do is tell php how to connect to MySQL in the chroot.
Open your php.ini and scroll down looking for [MySQL] and set the following:
Code:
mysql.default_socket = /tmp/mysqld.sock
mysql.default_host = localhost
Should work just fine.
Last edited by Viz0n; 04-22-2009 at 09:25 AM..
|