I am getting access error when importing database via phpMyAdmin

If an access error is displayed when you try to import a MySQL database backup via phpMyAdmin, it is likely that your MySQL database contains invalid (forbidden) queries.
Also, make sure that your MySQL file does not contain username / password / database name (if you imported the file from another hosting, most likely the database name / user / password will be different).
Your MySQL file should contain standard queries like CREATE TABLE and INSERT so that you don't have problems importing.

  • 51 Users Found This Useful
Was this answer helpful?

Related Articles

My site is not working on this PHP version

You can change the PHP version yourself in the Control Panel. To do this, go to Control Panel -...

How do I turn off short open tags?

To disable short opening tags, you need to add the following code to your .htaccess file:...

How to fix content encoding error?

If your site shows content encoding error it may be due to GZIP compression.Try to enable or...

Domain has status redemption period / pending delete

The domain is scheduled for deletion, so its validity period has expired and it has not been...

Cron task not working when installing Drupal

To create a cron task, follow these steps: 1. You need to create a cron task in Control Panel -...