A friend of mine called me today, asking for advice on a baffling
error.
He has just finished upgrading a database server from 4.1.20 to
5.0.45but, when attempting a backup to all databases with
mysqldump, he gets a discomforting
message:
mysqldump: Got error: 1044:
Access denied for user 'root'@'localhost' to database 'information_schema'
when using LOCK TABLES
Of course, the error is doubly strange.
- First, because mysqldump is not supposed to attempt dumping the information schema. I know for sure, since I had to write a special script to dump the I_S when I really needed to export its data.
- Second, because there was actually …