mysql 5.7 初始化问题---空密码
关尚
2019-03-13
3353浏览量
简介:
1819 Your password does not satisfy the current policy requirements
percona mysql 5.7 初始化,由于 环境需要 mysql 初始化之后是空密码
场景复现:
mkdir mysql10888
mkdir binlog innodata innolog relaylog log cnf
/usr/sbin/mysqld --defaults-file=/data/mysql10888/cnf/mysql10888.cnf --initialize --initialize-insecure --datadir=/data/mysql10888/data --user=mysqldb
报错:
2019-03-13T15:49:10.674060+08:00 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2019-03-13T15:49:11.016977+08:00 0 [Warning] CA certificate ca.pem is self signed.
2019-03-13T15:49:11.226013+08:00 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2019-03-13T15:49:11.453063+