Updated MySQLDatabase to include newest features