2)mysql5.7初始密碼
mysql5.7初始化DB時 ./mysqld --initialize --user=mysql --basedir=/data/mysql/installdir --datadir=
直接在輸出密碼,不產生文件.mysql_secret
2018-03-06T02:32:16.619904Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2018-03-06T02:32:16.620566Z 1 [Note] A temporary password is generated for root@localhost: g1hra(pdIsV