Database import fails: CREATE DATABASE line
Overview Restoring a database backup within the control panel, mysqli CLI, or phpMyAdmin may fail with the following message: #1044 – Access denied for user ‘myuser’@’localhost’ to database ‘mynewdb’ Cause A CREATE DATABASE query is issued during database import that cannot succeed due to limited permissions. All databases must be created…