Changed mysql connection.