Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error #1044 - Access denied for user 'root'@'localhost' to database 'information_schema' [closed]

Alright, so here is the scenario

I performed a full backup on my mysql server today. Now when I try to import that .sql dump file, I get the error mentioned in the title and it does not load all the other databases.

How can I get around this so phymyadmin will allow me to import the whole file, or is there a way I could "remove" information_schema from the sql dump

Thanks

like image 896
JonYork Avatar asked Jan 28 '11 04:01

JonYork


People also ask

What do you means by error?

An error is something you have done which is considered to be incorrect or wrong, or which should not have been done. NASA discovered a mathematical error in its calculations. [ + in]

What is the synonym of error?

Some common synonyms of error are blunder, lapse, mistake, and slip. While all these words mean "a departure from what is true, right, or proper," error suggests the existence of a standard or guide and a straying from the right course through failure to make effective use of this.

What is opposite of error?

Antonyms. rightness correctness natural object overgarment better. incorrectness wrongness erroneousness.


1 Answers

As Dan Grossman said:

To "remove" information_schema from the dump, open the file in notepad and delete those lines. It's just a text file of sequential queries to run.

like image 144
JonYork Avatar answered Sep 21 '22 05:09

JonYork