Warning: mysql_pconnect()...

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
bengt
Posts: 11
Joined: Fri 5. Dec 2003, 12:19
Location: Stavanger, Norway

Warning: mysql_pconnect()...

Post by bengt »

Hello there... Is there anyone who can tell me why this error message occurs every now and then.

Warning: mysql_pconnect() [function.mysql-pconnect]: Link to server lost, unable to reconnect in /hsphere/local/home/nfsandne/test.nfsandnes.org/include/inc_lib/default.inc.php on line 25
Error while trying to connect to mysql.hosted.servetheworld.net


If i refresh site, then it's back to normal...

Bengt
User avatar
Oliver Georgi
Site Admin
Posts: 9938
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Maybe - disable the persistent db connection in conf.inc.php - try to set

Code: Select all

$phpwcms["db_pers"] = 0;
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply