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