Navicat 链接mysql 数据库报错,

使用mysql终端登陆 show 命令也报错

ERROR 1356 (HY000): View 'information_schema.COLUMNS' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

ERROR 1356 (HY000): View 'information_schema.SCHEMATA' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

报错信息是没有权限,隐约记得改过mysql.user 表的mysql.infoschema权限信息,改的哪个忘了,导致关机重新开机后报上述错误,information_schema库下面的所有视图不能访问

不知道mysql.infoschema的哪个权限跟information_schema的查询有关,以为是Show_view_priv,Show_db_priv,Process_priv影响的但是改完后仍报错,最后尝试修改Select_priv 能正常访问了

执行语句

use mysql;
select * from user where User ='mysql.infoschema';
update user set Select_priv = 'Y' where User = 'mysql.infoschema';
flush privileges;

ERROR 1356 (HY000): View 'information_schema. SCHEMATA'相关推荐

  1. mysql 1356错误_MySQL ERROR 1356 (HY000)

    一.现象 使用备份软件备份报错 ERROR 1356 (HY000): View 'sys.host_summary' references invalid table(s) or column(s) ...

  2. mysql备份报错1356,解决mysqldump备份报错: Couldn't execute 'SHOW FIELDS FROM Unknown error 1356...

    服务器环境:[root@localhost mysql]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@loc ...

  3. ERROR 1366 (HY000): Incorrect string value: '\xD5\xC5\xC8\xFD' for column 'name' at row 1

    ERROR 1366 (HY000): Incorrect string value: '\xD5\xC5\xC8\xFD' for column 'name' at row 1 数据库字符集问题,查 ...

  4. ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction

    前言:朋友咨询我说执行简单的update语句失效,症状如下: mysql> update order_info  set province_id=15  ,city_id= 1667  wher ...

  5. mysql 5.7 group replication 之三 ERROR 3092 (HY000): The server is not configured properly to be an ac

    os: ubuntu 16.04 db: mysql 5.7.25 规划如下: 192.168.56.92 node1 # mysql 192.168.56.90 node2 # mysql 192. ...

  6. mysql hy000 1005,mysql – ERROR 1005(HY000):无法创建表(errno:150)

    当我尝试在 mysql中创建一个表时,我收到一个错误. 任何提示解决吗? create table stock_in( ind int not null auto_increment, itemcod ...

  7. ERROR 1820 (HY000): Unknown error 1820,ERROR 1046 (3D000):

    MySQL登录进去之后,执行语句出现报错: root@localhost 09:05: [(none)]> use mysql; ERROR 1820 (HY000): Unknown erro ...

  8. MariaDB: ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111 Connection refused)

    MariaDB : ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111 "Connection ref ...

  9. Linux MySQl 5.7.17 MySQL ERROR 1366(HY000):Incorrect string value 解决方法

    MySQL ERROR 1366(HY000):Incorrect string value,在往数据库中插入中文的时候会出现. 这也就是编码问题,网上大部分都是说设置下配置文件中的设置,而可悲的是在 ...

  10. 【已解决】mysql连接出错:ERROR 1040 (HY000): Too many connections

    连接mysql,结果出错: ? 1 ERROR 1040 (HY000): Too many connections 去修改mysql的配置文件,然后添加: ? 1 2 3 4 5 6 7 8 9 1 ...

最新文章

  1. 百练,4103,踩方格
  2. python中安装一个第三方库的命令格式是-无法使用pip命令安装python第三方库的彻底解决方案...
  3. python2.7获取当前脚本目录
  4. CertEnroll::CX509Enrollment::p_InstallResponse:ASN1 bad tag value met. 0x8009310b
  5. [转] C# TextBox、DataGrideView中的数据绑定
  6. (39)FPGA四种常用逻辑门(与非门)
  7. Scrum 大白话总结
  8. bouncing-balls-evil-circle
  9. 【JS点滴】substring和substr以及slice和splice的用法和区别。
  10. BrightHouse存储引擎
  11. JDK API 1.60 中文版(Java 1.6 中文帮助文档) 中文版
  12. ADT-谷歌浏览器插件-广告终结者
  13. NB-IoT开发都涉及什么
  14. HTML5教程书籍电子版30本合集
  15. 2020-09-01:mysql里什么是检查点、保存点和中间点?
  16. 腾讯云直播介绍及如何设置直播
  17. matlab显示图像全黑,请教!彩色图像显示出来怎么是全黑的?
  18. 商城后台添加多规格属性
  19. 用KUSTO查询语句(KQL)在Azure Data Explorer Database上查询LOG实战
  20. Ubuntu操作-11 双显卡

热门文章

  1. 闪聚支付前端部署指南
  2. QT软件ICON图标在线制作
  3. 初测ONES项目管理工具,寻求与众不同
  4. excel几个数相加等于某个数_Excel如何在一串数字中找出几个之和等于某个特定值...
  5. QQ浏览器书签栏不见了怎么办 找回QQ浏览器书签栏方法
  6. Python学习日记之从Tushare上获取500成分股
  7. JS用图片制作的走动的时间表
  8. 计算机中丨kb表示的字节数是,5mb是多少kb?计算机中5mb是多少字节?2MB表示多少字节?4mb是多少字节...
  9. matlab复数的使用,关于MATLAB在复数方面的应用
  10. word中替换向下箭头