Re: [PHP-DB] HELP!! Warning: mysql_pconnect:

2002-12-13 Thread John Krewson
Try mysql_connect instead. Doesn't sound as if you are at the stage at which you would realize any gains from a persistent connection. I've just seen a lot of comments regarding strange happenings with pconnect - which I have no doubt will be addressed later. Don Briggs wrote: While viewin

[PHP-DB] HELP!! Warning: mysql_pconnect:

2002-12-12 Thread Don Briggs
While viewing web pages, we sometimes get the following error: "Warning: mysql_pconnect: Link to server lost, unable to reconnect in /home/dratner/includes/common.inc on line 26 ". The offending line is this code: if (!$db = mysql_pconnect("db1", "diadba", "c0s3mST"