lovegigi 发表于 2018-9-30 11:57:31

MySQL 5.7.15 编译安装

# cd /usr/local/mysql/  # chown -R mysql:mysql ./
  # bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/mysql/data
  2016-10-06T05:11:36.422748Z 0 TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
  2016-10-06T05:11:36.832157Z 0 InnoDB: New log files created, LSN=45790
  2016-10-06T05:11:36.900930Z 0 InnoDB: Creating foreign key constraint system tables.
  2016-10-06T05:11:36.961751Z 0 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: 5b4533be-8b83-11e6-927a-0800279bbbbf.
  2016-10-06T05:11:36.963090Z 0 Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
  2016-10-06T05:11:36.964712Z 1 A temporary password is generated for root@localhost: ;uIY2:ZVrv)u# bin/mysql_ssl_rsa_setup --datadir=/mysql/data
  Generating a 2048 bit RSA private key
  ......+++
  .........................................................................................................+++
  writing new private key to 'ca-key.pem'
  -----
  Generating a 2048 bit RSA private key
  ...........................+++
  ............................................................................................................................................................................................+++
  writing new private key to 'server-key.pem'
  -----
  Generating a 2048 bit RSA private key
  .................+++
  ...........................................................................................................................+++
  writing new private key to 'client-key.pem'
  -----

页: [1]
查看完整版本: MySQL 5.7.15 编译安装