Update MySQLDatabase.php