How can I get mysql to look in a different location for mysql.sock

Entity

Lifer
Oct 11, 1999
10,090
0
0
I've got PHP and MySQL both running fine on my University students account, but unfortunately, can't figure out how to tell PHP to look for the mysql.sock socket in /robcole/mysql.sock rather than /tmp/mysql.sock. I've checked and changed the php.ini file, to no avail...

I edited my .my.cnf file in my home dir to change it for mysql, and now mysql works & loads just fine...but I still don't have any luck with PHP+Mysql.

Here's some info:

PHP is running as CGI on our servers.

My phpinfo()

Please help!
thanks,
Rob