pycsw
pycsw copied to clipboard
Using external mysql view issue "Mysql has gone away"
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 ?