mysql 5.7 glibc_初学mysql:mysql5.7 glibc+centos7.1安装(一)

[root@localhost mysql5.7]# cd /usr/local/mysql/bin/

[root@localhost bin]#  ./mysqld --user=mysql --basedir=/usr/local/mysql  --datadir=/usr/local/mysql/data --initialize

[root@localhost bin]# tail -f ../logs/mysql-error-3306.log

2017-07-10T04:10:29.377990Z 0 [Warning] InnoDB: New log files created, LSN=45790

2017-07-10T04:10:29.481350Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.

2017-07-10T04:10:29.880939Z 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: b5f1d20f-6525-11e7-aa9b-000c2950f315.

2017-07-10T04:10:30.044524Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.

2017-07-10T04:10:30.067485Z 1 [Note] A temporary password is generated for root@localhost: ;0&_K24dDMOu

2017-07-10T04:10:31.142413Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.

2017-07-10T04:10:31.142471Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.

2017-07-10T04:10:31.142511Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.

2017-07-10T04:10:31.142537Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.

2017-07-10T04:10:31.142608Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.

---生成的ROOT密码注意保存起来:;0&_K24dDMOu

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值