Connection drops on a certain query.
Posted by: Sela Lerer
Date: August 22, 2005 07:18AM

I get the following error on a mysql_real_query() call:

Lost connection to MySQL server during query (errno=2013)

As an attemp to recover I call mysql_ping() and which always fail (why?), afterwards I call mysql_close() and then mysql_real_connect() to reconnect and get the following error:

MySQL server has gone away (errno=2006)

Why does the connection drop? Why doesn't it reconnects?

Thanks,
Sela.

Options: ReplyQuote


Subject
Views
Written By
Posted
Connection drops on a certain query.
565
August 22, 2005 07:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.