2019-06-26T07:12:23.842578Z 0 [Warning] TIMESTAMP with implicitDEFAULT value isdeprecated. Please use --explicit_defaults_for_timestamp server option (see documentation formore details).
2019-06-26T07:12:25.699399Z 0 [Warning] InnoDB: New log files created, LSN=45790
2019-06-26T07:12:25.920250Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2019-06-26T07:12:25.998106Z 0 [Warning] No existing UUID has been found, so we assume that thisisthe first time that thisserver has been started. Generating a newUUID: c03a1dc7-97e1-11e9-acca-000c29e6d627.
2019-06-26T07:12:26.041964Z 0 [Warning] Gtid table isnot ready to be used. Table 'mysql.gtid_executed'cannot be opened.
2019-06-26T07:12:26.044143Z 1 [Note] A temporary password isgenerated forroot@localhost: jcJ3Ncguf:ql //显示root@localhost第一次登录的随机密码
(1).准备工作 前往mysql官网下载二进制安装包,MySQL :: Download MySQL Community Server(注意:选择操作系统时选Linux-Generic)。我这里下载的是mysql-5.7.26-linux-glibc2.12-x86_64。 Mysql5.7参考手册-2.2使用通用二进制文件在Unix/Linux上安装Mysql:MySQL :: MySQL 5.7 Reference Manual :: 2.2 Installing MySQL on Unix