the variable MYSQL_SOCKET is set to /tmp/mysql.sock and i need it to
be /var/lib/mysql/mysql.sock is there anyway i can set this variable
in php?
From http://php.net/mysql_connect :
resource mysql_connect ([string hostname[:port][:/path/to/socket] [, string username
[, string password]]])
Or just specify the socket path right in your mysql_connect() call.
-Rasmus
On Thu, 16 Aug 2001, Jay Paulson wrote:
well i just compiled php again and that still didn't solve the problem... i
guess i just need to keep recompiling php until i get that variable set to
the right thing?