[snip] I meant "mysql.sock", sorry. Does anyone know how to tell PHP to look in a different location for the mysql.lock file? It's currently looking in /tmp/ and that's wrong. [/snip]
But MySQL is running? PHP AFAIK doesn't care where mysql.sock is, unless it is not the default. locate mysql.sock look in my.conf to see if the paths match if not, change the path in my.conf and restart mysql There is a PHP directive in the php.ini ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. mysql.default_socket = where you can specify the location of the sock if need be. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php