Some Mysql connection changes.