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?

thanks,
jay

----- Original Message -----
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Jay Paulson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 2:45 AM
Subject: Re: [PHP] MYSQL_SOCKET


> > 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]]])
>
> The reason you have this discrepancy is that you didn't compile PHP
> against a version of the MySQL client library that matches the version of
> the MySQL server you are talking to.  Probably because you didn't specify
> --with-mysql=/usr when you built PHP.
>
> -Rasmus
>


-- 
PHP Database 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