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.

  • 99 Users Found This Useful
Was this answer helpful?

Related Articles

Got an error about an outdated MySQL version?

When connecting the site to the database, an error occurred telling us that the MySQL version is...

Firefox error: The page isn't redirecting properly

When a page redirects you to an infinite redirect, Firefox will display the error: The page isn't...

I am getting Internal Server Error (500)

This error is generalized when there is a problem the server cannot process a request to the site...

How to fix content encoding error?

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

403 Forbidden Error

Reasons for the error:1. Incorrect content of the index.php or index.html file, its...