0
点赞
收藏
分享

微信扫一扫

mysql问题

云上笔记 2022-11-19 阅读 48


Feb 24 09:22:58 server4 systemd[1]: mysqld.service holdoff time over, scheduling restart.
Feb 24 09:22:58 server4 systemd[1]: Starting MySQL Server...
Feb 24 09:22:58 server4 mysqld_pre_systemd[14018]: 2019-02-24T01:22:58.798368Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
Feb 24 09:22:58 server4 mysqld_pre_systemd[14018]: 2019-02-24T01:22:58.798433Z 0 [ERROR] Aborting
Feb 24 09:22:59 server4 mysqld[14042]: Initialization of mysqld failed: 0
Feb 24 09:22:59 server4 systemd[1]: mysqld.service: control process exited, code=exited status=1

rm -fr /var/lib/mysql

多删几次  会不停的生成

 

问题2

[Warning] TIMESTAMP with implicit DEFA

vim /etc/my.cnf

[mysqld]

explicit_defaults_for_timestamp=true

举报

相关推荐

0 条评论