[imp] Please help with this thing!

Xavier Poirier xpoirier@ch-bourg01.fr
Wed, 25 Oct 2000 08:32:34 +0200


Warning: Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (111) in db_mysql.inc on line 73

this error occured for me when I started mysql with the socket connection in
a wrong place (file : mysql.sock)
see the configurations files for /tmp/mysql.sock , or
/usr/lib/mysql/mysql.sock ... you must have one in a place when you started
mysqld (see --help for creating a socket in another place).
see imp/docs/manual.html
and IMPORTANT the file /etc/my.cnf witch contains the path of the socket.

Xavier Poirier
Service Informatique - CH Bourg en Bresse -
                     (---)
email : xpoirier@ch-bourg01.fr

----- Message d'origine -----
De : Brent J. Nordquist <bjn@horde.org>
À : <imp@lists.horde.org>
Envoyé : mardi 24 octobre 2000 17:39
Objet : Re: [imp] Please help with this thing!


> On Fri, 20 Oct 2000, Maximo <lista@dynastar.com.ar> wrote:
>
> > If i go with a browser from localhost (using lynx)
>
> (...just a note that IMP hasn't supported lynx for some time; this
> wouldn't work in any case...)
>
> > or from the workstation
> > (using IE 5) to ../horde/test.php3 :
> >
> > Warning: Can't connect to local MySQL server through socket
> > '/var/lib/mysql/mysql.sock' (111) in db_mysql.inc on line 73
>
> OK, and you said that you can get in from the command-line, so presumab=
ly
> your database is running.  What does "status" say from the mysql> promp=
t?
>
> If that's the case, there are two places in the Horde/IMP configuration=
 to
> check, to make sure that the host/user/password matches the one that wo=
rks
> from the command-line:
>
> horde/phplib/local.inc
> imp/config/defaults.php3
>
> Just double-check that those are correct.
>
> --
> Brent J. Nordquist <bjn@horde.org>
> Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org