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 Link to comment https://forums.phpfreaks.com/topic/98362-getting-error-mysql-server-has-gone-away/ 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. Link to comment https://forums.phpfreaks.com/topic/98362-getting-error-mysql-server-has-gone-away/#findComment-503366 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.