【发布时间】:2020-09-19 12:05:21
【问题描述】:
我正在尝试列出 ubuntu 操作系统上 mysql 数据库中的所有表。但我一直收到这个错误;
mysql> use mysql;
Database changed
mysql> show tables;
ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschema'@'localhost') does not exist
我已经检查了我的mysql版本:
mysql Ver 8.0.20 for Linux on x86_64 (MySQL Community Server - GPL)
看来这是mysql的最后一个版本了。
我该如何解决这个错误?
请帮忙
【问题讨论】:
-
不是。当我运行 ALTER 语句时,它给出了同样的错误。