[imp] /tmp/mysql.sock issue
Jan Schneider
jan@horde.org
Fri, 22 Mar 2002 02:47:52 +0100
Zitat von "Oliver Schulze L." <oliver@samera.com.py>:
> Hi people,
> I'm having this strange problem with: /tmp/mysql.sock
>
> string(95) " [nativecode=Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (2)] ** Array"
> ["callback"]=>
> NULL
> }
> [/var/www/html/mail/horde/lib/Prefs/sql.php : 102]
You can configure your preference section in horde.php to either use mysql
sockets or tcp:
$conf['prefs']['params']['protocol'] = 'unix';
$conf['prefs']['params']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['prefs']['params']['protocol'] = 'tcp';
$conf['prefs']['params']['port'] = '3306';
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft