util/mysql: set reconnet option before real_connect

Otherwise it does not have any effect
Merge pull request #118 from openchange/jgarcia/fix-mysql-reconnect

util/mysql: set reconnet option before real_connect
Merge remote-tracking branch 'oc/master'