Re: MYSQL support

From: Date: Sat, 22 Sep 2001 21:52:28 +0000
Subject: Re: MYSQL support
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-4379@lists.php.net to get a copy of this message
Jeremy Wadsack wrote: > I've always had this "problem" with PHP/MySQL installs. And always > used the --with-mysql setting to point to the only library installed > on the system (which therefore matches the mysqld installed on the > system). Did that and it found the mySQL installation, but refused to find the socket where it actually is. > mysqld allows you to specify the location of the socket file in the > command-line when you call it. So, you could change your mysql startup > script to tell it to put the socket file in /tmp/mysql.sock. That's not the point, nor what I want to do. I have specifically told mySQL when I build it, to drop it's socket into something other than /tmp/mysql.sock. The system is configured to clean out /tmp once a week, and it'd be stupid to have the socket, or any persistent socket in there. PHP has no way of being told (on the COMMAND LINE) where the socket is. So, as Rasmus pointed out, one has to set it in the .ini file since it always defaults to /tmp/mysql.sock, for whatever reason. AMK4 -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

« previous php.install (#4379) next »