What permissions have you granted to the MySQL user for the database you're using?