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