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:[EMAIL PROTECTED]>   .   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.



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to