mysql 查看临时密码

code

grep 'temporary password' /var/log/mysqld.log

输出

[root@xxx ~]# grep 'temporary password' /var/log/mysqld.log
2019-09-28T17:13:20.357871Z 1 [Note] A temporary password is generated for root@localhost: eHZjwjDha5!6
[root@xxx ~]# 

 

 

 

 

 

 

上一篇:查看、关闭linux自启动网络服务


下一篇:MySQL中临时表的创建