I get an error ACCESS DENIED CREATE DATABASE db_name when I try to import a databaseIn order to solve this issue follow these steps:
- Open the mysql dump with a text editor on your local pc / mac;
- Delete the line saying "CREATE DATABASE yourdbname". Usually this line is found in the very beginning of the file;
- Save the file and try to import it again.
This problem is caused by the fact that your mysql user does not have privileges to create new databases. Databases can be created only through Cpanel's Mysql manager.
______________
Find expert web hosting services at SiteGround.com: secure web servers, cPanel, Fantastico, PHP, MySQL, FTP, web hosting tutorials, and more.