Philadelphia Reflections

The musings of a physician who has served the community for over six decades

Related Topics

No topics are associated with this blog

MySQL server has gone away

MySQL timeout? Probably a new error after years of working perfectly, resulting from an ISP change which they will neither acknowledge nor fix. Sound familiar?

Charming people.

Try this:

$db_link = @mysql_connect(DB_HOST, DB_USER, DB_PSWD,'',MYSQL_CLIENT_INTERACTIVE);

... instead of what you used to do:

$db_link = @mysql_connect(DB_HOST, DB_USER, DB_PSWD);

Originally published: Tuesday, July 29, 2008; most-recently modified: Monday, June 04, 2012

i working in mysqlserver since 2 years i face new problem mysqlserver has to solve this problem.
Posted by: Rajgopal reddy   |   Sep 29, 2010 7:46 AM
The funny thing is that the error occurred when I opened this page at the first time :P
Posted by: Shantanu Tushar   |   Sep 12, 2010 11:45 PM
i was so glade by implementing it my crawling started smoothly where it use to come to end BUT... again i got the same error, :-(
Posted by: Shahid   |   Jan 25, 2010 7:45 AM