2016年6月10日金曜日

How to get a password of root user for MySQL5.7.13 after install.


It takes a lot of time, so I share the information.

Japanese version: 日本語版はこちら

You can find with the following command.
sudo grep 'temporary password' /var/log/mysqld.log

You will get.
2016-06-10T09:38:41.068036Z 1 [Note] A temporary password is generated for root@localhost: 4FEYyW_RwdZf

Reference
https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/

0 件のコメント :