> We are using the following piece of code to connect to the dbase:
>
> if(!mysql_pconnect($db[$no]["host"],$db[$no]["user"],$db[$no]["pass"])){
> if(!mysql_connect($db[$no]["host"],$db[$no]["user"],$db[$no]["pass"])){
> die(error(55));
Could you explain why you are connecting like that? Failing over from a
pconnect to a connect doesn't make much sense to me.
> php-config:
> ./configure --with-apache=../apache_1.3.19 --enable-track-vars \
> --enable-magic-quotes --with-gd=/usr/local --with-mysql --with-zlib=../zlib-
> 1.1.3
To be perfectly safe, I would compile PHP against the version of the mysql
client library that matches your server. ie. install the mysql client
library on your web server machine and build PHP using --with-mysql=/path
--with-mysql by itself will use the generic PHP-bundled mysql client
library which should theoretically work with all versions of MySQL, but
since you are seeing problems it would be a place to start.
-Rasmus
--
PHP General 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]