Date: Wed, 9 Jan 2002 13:26:35 +0100 From: Benoit Lacherez <blacherez@ac-bordeaux.fr> To: freebsd-questions@FreeBSD.org Subject: Re: Socket troubles with MySQL Message-ID: <20020109132635.A35327@bisclavret.iris33.ac-bordeaux.f> In-Reply-To: <1010574360.20830.6.camel@blowfish.dev.mt.lv>; from denis@mt.lv on Wed, Jan 09, 2002 at 01:06:00PM %2B0200 References: <20020109115108.A35101@bisclavret.iris33.ac-bordeaux.f> <1010574360.20830.6.camel@blowfish.dev.mt.lv>
next in thread | previous in thread | raw e-mail | index | archive | help
Denis J. Cirulis wrote : > On Wed, 2002-01-09 at 12:51, Benoit Lacherez wrote: > > Hello, > > > > My web server is under FreeBSD 4.3. It runs Apache and MySQL and PHP > > applications. After some uptime, PHP scripts return error messages > > from MySQL telling : "Can't create socket" or "Can't use socket". > > First, one script sometimes behaves like this, then it always ; > > eventually, all scripts have this behaviour. > > > > If I reboot, the trouble vanishes. > > > > Does anybody know to resolve this problem ? > > You can get such an error when your MySQL database server is not running > and not listenind to dedicated port. Try to use ps aux|grep mysql and > examine what's wrong. Of course, I thought about that, but mysqld is running. I had this kind of trouble someday when I deleted by accident /tmp/mysql.sock. But now, this file is still there. I really can't figure what the trouble is from. -- Benoit Lacherez Académie de Bordeaux -- CATICE Projet de traduction de la documentation de Python: http://frpython.sourceforge.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109132635.A35327>