implement database.MySQL