Automatically reconnect on database disconnection.
Merge pull request #35 from jbenden/mysql-reconnect

Automatically reconnect on database disconnection.