2017-06-19T01:18:19.299580Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-06-19T01:18:19.458771Z 0 [Warning] InnoDB: New log files created, LSN=45790
2017-06-19T01:18:19.482412Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2017-06-19T01:18:19.537139Z 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: 2de7b52f-548d-11e7-b57b-52560acdcad4.
2017-06-19T01:18:19.537944Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2017-06-19T01:18:19.538602Z 1 [Note] A temporary password is generated for root@localhost: C#lF1kb*KkV/
运行,
1
2
3
4
5
6
7
8
9
10
11
# cp support-files/mysql.server .
修改mysql.server中的
basedir=xxx
datadir=xxx
修改 /etc/my.cnf 中配置。
vim /etc/my.cnf
# ./mysql.server start
Starting MySQL.Logging to '/vdb/mysql1/10-205-202-212.err'. [ OK ]