Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MYSQL Timeout Issue

Status
Not open for further replies.

prav5110

IS-IT--Management
Sep 17, 2003
8
US
HI Guys,

I am trying to import a csv file(78mb) into mysql table. after a few seconds I get error 2013: connection to the server lost. I am able to break the file in parts and import to the table, but am not able to do so all at once. I guess I would have to change the server timeout option. Could you advise how to do that?

Thanx
 
By default, the server closes the connection after 8 hours if nothing has happened. You can change the time limit by setting the wait_timeout variable when you start mysqld.

Another common reason to receive the MySQL server has gone away error is because you have issued a ``close'' on your MySQL connection and then tried to run a query on the closed connection.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top