sureshp Posted March 28, 2008 Share Posted March 28, 2008 Hello, Im using ODBC to connect to my MySQL database. The issue is the ODBC connection is lost within 15 to 30 seconds after connecting. In the log, Im getting the following error. DIAG [08S01] [MySQL][ODBC 3.51 Driver][mysqld-4.1.22-standard]MySQL server has gone away Can anyone know why it is happening like this? Thanks in advance! Regards, Suresh P Quote Link to comment Share on other sites More sharing options...
mwasif Posted March 28, 2008 Share Posted March 28, 2008 Are you only connecting or executing and huge query? You might need to change mysql.connect_timeout in php.ini. Take a look at MySQL Manual. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.