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 ~]# 

 

 

 

 

 

 

posted @ 2021-01-08 22:30  anobscureretreat  阅读(2552)  评论(0编辑  收藏  举报