我使用了mysql 5.7.16社区和centos 7.
我正在关注安装mysql 的视频教程:
启动mysql后,我可以看到状态是活着的(正在运行)了service mysqld status.
但我可以通过以下方式得到任何东西 grep 'temporary password' /var/log/mysqld.log
msyqld.log(忽略普通日志):
[Warning] InnoDB: Cannot open table mysql/plugin from the internal data dictionary of InnoDB though the .frm file for the table exists.
mysqld: Table 'mysql.plugin' doesn't exist
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
[Warning] InnoDB: Cannot open table mysql/gtid_executed from the internal …Run Code Online (Sandbox Code Playgroud)