Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8144041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:15:59+00:00 2026-06-06T13:15:59+00:00

I have exported a full backup of a database with HeidiSQL 7. Now when

  • 0

I have exported a full backup of a database with HeidiSQL 7.

Now when importing it via PHPMyAdmin, I noticed that I MUST select the database information_schema, because that’s how the DB is exported (Or this is how HeidiSQL 7 exports databases as objects to an SQL file?).

However, that is a problem because when I import (the exported file) with HeidiSQL 7 (instead of PHPMyAdmin), while selecting the information_schema database, and clicking on Import SQL file (from the tools menu), it says that access is denied for the root user.

In PHPMyAdmin, the option to import is not available when selecting the database information_schema.

How do I import my full database dump? (This is how I exported it: HeidiSQL > export database objects to SQL file)

Edit:
I tried it with the command line, but without luck:

C:\Programs\XAMPP\mysql\bin>mysql --verbose --user=root Information_schema < DT.
sql
--------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
--------------

--------------
/*!40101 SET NAMES utf8 */
--------------

--------------
/*!40014 SET FOREIGN_KEY_CHECKS=0 */
--------------

--------------
/*!40000 ALTER TABLE `CHARACTER_SETS` DISABLE KEYS */
--------------

ERROR 1044 (42000) at line 13: Access denied for user 'root'@'localhost' to data
base 'information_schema'

C:\Programs\XAMPP\mysql\bin>

This is a snippet of the SQL file:
http://pastebin.com/6hwhK2CJ

Note: The password for my root user is blank.

Maybe another solution for my problem:
How do I import only the database I want, from the SQL file? For example a database with the name “Employees”? Because that SQL file should contain a few databases.

Edit2:
(answer to first comment)
I downloaded MySQL Workbench, setup the connection…

03:23:08 Restoring C:\Files\DB.sql

Running: mysql.exe --defaults-extra-file="c:\files\temp\tmplnjwd6.cnf"  --host=localhost --user=root --port=3306 --default-character-set=utf8 --comments < "C:\\Files\\DB.sql"

ERROR 1046 (3D000) at line 13: No database selected


Operation failed with exitcode 1

03:23:08 Import of C:\Files\DB.sql has finished with 1 errors
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:16:00+00:00Added an answer on June 6, 2026 at 1:16 pm

    INFORMATION_SCHEMA is a pseudo, read-only database (in fact, it is an “ANSI standard set of read-only views“).

    You need to remove all dump data related to this pseudo database, as there is absolutely no way to import it.

    Notepad++ is able to easily handle a 9 MB file, and also provides nice syntax highlighting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a some exported rows that I want to import into a database
I have a database that is a container for data that is exported nightly
I have exported datatable to Excel successfully. Now I have to change some cell
I have an Excel spreadsheet that I have exported from some other program. It
I have a json file exported from phpmyadmin, it looks like this(utf-8 file): [{user_email:
I have a gridview that needs to be exported to Excel. I have managed
We have some stuff that may be exported into various formats. Currently we have
I have exported a CSV file from a database. Certain fields are longer text
I have exported my sql statements from phpmyadmin 'data.sql'. I wish to reverse engineer
I have found a few places that have exported their Bloopsaphone tunes to MP3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.