======================================================================================================================================================================================= Package Arch Version Repository Size ======================================================================================================================================================================================= Installing: libaio x86_64 0.3.109-13.el7 base 24 k
Total download size: 24 k Installed size: 38 k Downloading packages: libaio-0.3.109-13.el7.x86_64.rpm | 24 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libaio-0.3.109-13.el7.x86_64 1/1 Verifying : libaio-0.3.109-13.el7.x86_64 1/1
Installed: libaio.x86_64 0:0.3.109-13.el7
Complete!
如果出现如下所示则为安装成功
1 2 3 4 5 6 7 8 9 10 11 12 13
2019-05-20T14:14:00.607305Z 0 [Warning] InnoDB: New log files created, LSN=45790 2019-05-20T14:14:00.643051Z 0 [Warning] InnoDB: Creating foreign key constraint system tables. 2019-05-20T14:14:00.833733Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 83d6fb34-7b09-11e9-96b7-000c2932f18d. 2019-05-20T14:14:00.892413Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2019-05-20T14:14:00.893234Z 1 [Note] A temporary password is generated for root@localhost: sBN18?Wq&>>I 2019-05-20T14:14:01.309353Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode. 2019-05-20T14:14:01.309376Z 1 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode. 2019-05-20T14:14:01.309382Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-05-20T14:14:01.309392Z 1 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode. 2019-05-20T14:14:01.309395Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode. 2019-05-20T14:14:01.309400Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode. 2019-05-20T14:14:01.309416Z 1 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode. 2019-05-20T14:14:01.309420Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
其实已经生成了root的临时账号:
1
A temporary password is generated for root@localhost: sBN18?Wq&>>I
CREATE USER 'developer'@'%' IDENTIFIED BY '123456'; GRANT ALL PRIVILEGES ON *.* TO 'developer'@'%' WITH GRANT OPTION ; # REVOKE ALL PRIVILEGES ON db1.* FROM 'developer'@'%' ; flush privileges;