Date: 09 Jan 2002 13:06:00 +0200 From: "Denis J. Cirulis" <denis@mt.lv> To: freebsd-questions@FreeBSD.org Subject: Re: Socket troubles with MySQL Message-ID: <1010574360.20830.6.camel@blowfish.dev.mt.lv> In-Reply-To: <20020109115108.A35101@bisclavret.iris33.ac-bordeaux.f> References: <20020109115108.A35101@bisclavret.iris33.ac-bordeaux.f>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- 4.4 - number of the beastie. 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?1010574360.20830.6.camel>