SUMMER SALE - 80% OFF!
HURRY UP, LIMITED TIME OFFER IS TICKING DOWN
00
DAYS
06
HOURS
55
MINUTES
11
SECONDS

I get access denied errors when importing a database via phpMyAdmin

Modified on:
mysql database access denied phpmyadmin denied access supported use backup sql

If access denied errors are displayed when you try to import MySQL backup file via phpMyAdmin, most likely your MySQL query contains invalid (forbidden) queries.

Please open your MySQL file and make sure there are no queries like 'use database' or similar. Also make sure your MySQL file does not contain any MySQL database names/usernames/passwords (if a file is being imported from another host, most likely database name or username/password will be different here).

Your MySQL file should contain standard queries like CREATE TABLE and INSERT in order to work properly.

  • Unlimited Number of Websites
  • 24/7 Live Support
  • Easy Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
$ 3
49
/mo
$26.52
$10.47 for 3 months
Save 61%
Get started