Enable auto reconnect to MySQL
|Reported by:||marisn||Owned by:||warmerdam|
Depending on MySQL version, automatic reconnecting is either enabled or disabled. As on OGR side there's no logic implemented to handle loss of connection, attached patch enables attempt to reconnect on MySQL level in case of failure (network failures etc.).