mysql 安装错误 解决方法

错误及警告信息:TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option

解决方法:需要在my.cnf里面加入下面的参数:explicit_defaults_for_timestamp=true

 

错误及警告信息:Can't find messagefile '/usr/share/mysql/errmsg.sys

解决方法:需要在my.cnf里面加入language参数: lc-messages-dir = /usr/share/community-mysql/english    #此处为language配置项

初始化参数:mysqld --initialize-insecure

 

posted @ 2017-01-15 17:57  TK-D小跆风  阅读(278)  评论(0编辑  收藏  举报