[imp] can't connect to mysql

John Soward soward@uky.edu
Wed, 04 Apr 2001 10:32:08 -0400


Paul Juliano wrote:
> 
> Hello,
> 
> I have a simple question when using the prefs through mysql.  It seems that php
> is trying to connect to /tmp/mysql.sock, but it's not in the /tmp directory.
> It's in /var/lib/mysql/mysql.sock.  I can connect throught mysql through the command
> line just fine, but imp and my custom php functions cannot.  What could be wrong?
> 
sounds like maybe php was compiled using a different mysql client lib
than what your 
current mysql is, might be able to get it pointed in the right direction
with an 
entry in the php.ini file.

-- 
John Soward     
Lead Systems Programmer, Technical Services, University of Kentucky    
p: 859.257.2900x298  e:soward@uky.edu  w: http://neworder.cc.uky.edu/