When trying to import a MySQL database, you get this error:
MySQL said:
Access denied for user ‘xxx’@’localhost’ to database xxx
You get this access denied message when importing to a database that doesn’t exist. Try creating the database before trying to import to it. If you have created the database already, perhaps your user account doesn’t have access permission to write to the database.