DB::connect()

From: Date: Fri, 09 Jan 2004 08:11:07 +0000
Subject: DB::connect()
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10075@lists.php.net to get a copy of this message
I'm trying to use the connect() function on a system that does not store the mysql.sock in the /tmp directory. connect produces an error message containing among others: $kdb: db_error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => -24 [message] => DB Error: connect failed [userinfo] => [nativecode=Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)] Is there anything I can do about this other than restarting the mysqld with a different 'socket' option? Thanks for your attention, Bernd Gliss -- Dr. Bernd Gliss Max-Planck-Institut für Metallforschung Heisenbergstr. 3 Telefon +49 711 689 1250 70569 Stuttgart FAX +49 711 689 1088 INET-MAIL bernd.gliss@mf.mpg.de URL: http://www.mf.mpg.de/de/zwe/dv/dv-index.php

« previous php.pear.general (#10075) next »