小编Fur*_*egg的帖子

mysqld.log中没有临时密码

我使用了mysql 5.7.16社区和centos 7.

我正在关注安装mysql 的视频教程:

  1. wget http://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
  2. yum localinstall dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
  3. 启用yum repolist | grep" mysql.-community. "
  4. yum install mysql-community-server
  5. 服务mysqld启动

启动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)

passwords temporary centos7 mysql-5.7

4
推荐指数
3
解决办法
5702
查看次数

标签 统计

centos7 ×1

mysql-5.7 ×1

passwords ×1

temporary ×1