mysql root权限更新information_schema错误 [英] mysql root permission to update information_schema error

查看:668
本文介绍了mysql root权限更新information_schema错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从information_schema数据库更新一个表(GLOBAL_VARIABLES)时,

when i try to update one table(GLOBAL_VARIABLES) from information_schema db,

我收到错误消息:

Access denied for user 'root'@'localhost' to database 'information_schema'

尽管我是具有所有特权的root用户,

Although I am root user with all privileges ,

我该如何解决权限问题. ?

how can i fix permission. ?

或者如何更新此表?

谢谢.

推荐答案

您可以使用SET更改全局变量,并使用SHOW读取它们.

You can change the global variables using SET, and read them using SHOW.

请参见 http://dev.mysql.com /doc/refman/5.0/en/using-system-variables.html 了解更多信息

这篇关于mysql root权限更新information_schema错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆