Rasmus Lerdorf wrote:
> Well, PHP gets that path from the mysql client library, so if it isn't
> getting the right one then your client library is wrong. Check it:
>
> strings /usr/lib/libmysqlclient.so | grep sock
Mine outputs:
# strings /usr/local/lib/mysql/libmysqlclient.so | grep sock
Well, PHP gets that path from the mysql client library, so if it isn't
getting the right one then your client library is wrong. Check it:
strings /usr/lib/libmysqlclient.so | grep sock
Mine outputs:
/var/lib/mysql/mysql.sock
-Rasmus
On Sat, 22 Sep 2001, Ashley M. Kirchner wrote:
> Rasmus Le
Ashley M. Kirchner ([EMAIL PROTECTED]):
> 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).
>
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
Ashley M. Kirchner ([EMAIL PROTECTED]):
> Rasmus Lerdorf wrote:
>> PHP hasn't hardwired anything. The MySQL library which ships with PHP
>> does have this hardwired, but that is why I told your to use
>> --with-mysql=/path which tells PHP to not use the built-in library and to
>> use the syste
Rasmus Lerdorf wrote:
> PHP hasn't hardwired anything. The MySQL library which ships with PHP
> does have this hardwired, but that is why I told your to use
> --with-mysql=/path which tells PHP to not use the built-in library and to
> use the system one which has the correct socket location buil
PHP hasn't hardwired anything. The MySQL library which ships with PHP
does have this hardwired, but that is why I told your to use
--with-mysql=/path which tells PHP to not use the built-in library and to
use the system one which has the correct socket location built in.
-Rasmus
> Rasmus Lerdor
hi,
hm not sure about but couldn't a symlink help? maybe you should try a
symlink /tmp/mysql.sock to the real one..
I'm not sure if you can trick php with this but theoreticaly it could be
possible.
Greetings,
Stefan Siefert
- Original Message -
From: Ashley M. Kirchner <[EMAIL PROTE
Rasmus Lerdorf wrote:
> This is usually caused by a client library mismatch. If you have the
> mysql client library installed on your system, use:
>
> --with-mysql=/usr
Actually, I did a custom install. mySQL, plus relevant includes and
libraries are all under /usr/local. The datafiles
This is usually caused by a client library mismatch. If you have the
mysql client library installed on your system, use:
--with-mysql=/usr
Assuming your mysql client libs are under /usr/lib somewhere.
That should fix it. Otherwise you can specify the socket location right
in the mysql_conne
How can I tell configure where my mysql.sock is located? It seems
to like using /tmp/mysql.sock, however that's not where my mysql socket
is.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+
Ashley M.
php-install Digest 22 Sep 2001 20:17:55 - Issue 470
Topics (messages 4368 through 4372):
Re: File download?
4368 by: Jeremy Wadsack
Problem with mail() function when windows 2000(IIS 5.0) is config ured with
php4isapi.dll
4369 by: Gossi, Dean
Sablot
4370 by:
12 matches
Mail list logo