Sometimes we see an error on ASP pages:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[MySQL][MyODBC 5.00.11][MySQL] 2006 MySQL server has gone away
We process it as best as possible in ASP, but it still appears. I think this has more to do with the MySQL ODBC driver than with ASP code. We never see this with the PHP code, which we also run on the same IIS server, however, PHP reconnects at each start, whereas I believe that the ODBC driver connects once and remains connected.
I checked the settings in the driver, but it seems I canβt change anything to help fix the problem.
Can someone explain why this happens and how to reduce the number of times this happens?
source
share