ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'information_schema'":
If you are getting following error when trying to grant select privilege on infomation_schema, then explore what is information_schema and you don't need to grant select to any user for information_schema.
ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'information_schema'
Information_schema database for mysql is specialized, virtual database. By default all users have select privilege on database information_schema. Even root user can't insert, update,
delete, and drop objects of information_schema database. Information_schema database, built when service is started.
Explore more about information_schema at https://dev.mysql.com/doc/refman/8.0/en/information-schema-introduction.html
If you are getting following error when trying to grant select privilege on infomation_schema, then explore what is information_schema and you don't need to grant select to any user for information_schema.
ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'information_schema'
Information_schema database for mysql is specialized, virtual database. By default all users have select privilege on database information_schema. Even root user can't insert, update,
delete, and drop objects of information_schema database. Information_schema database, built when service is started.
Explore more about information_schema at https://dev.mysql.com/doc/refman/8.0/en/information-schema-introduction.html
Comments
Post a Comment