pycsw icon indicating copy to clipboard operation
pycsw copied to clipboard

Using external mysql view issue "Mysql has gone away"

Open jean-gael opened this issue 10 years ago • 0 comments

We are using a mysql database witha view to generate the pycsw datas. When pycsw is not used for a while, the first request issue an error ("Mysql has gone away"). It is not a timeout problem (not générated by a long and slow query) but appears to be a persistent connection problem. We don't want to modify the mysql settings as a 1 day mysql connection expiration won't do the job and this will be dangerous. Is there a way to use non persistent connection for PyCsw ?

jean-gael avatar Aug 21 '15 14:08 jean-gael