[Warning] TIMESTAMP with implicit DEFAULT value is deprecated


启动mysql时,报如下警告信息:

[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

 

修改方法:

在配置my.cnf中加入,然后启动mysql

[mysqld]
explicit_defaults_for_timestamp=true

 

explicit_defaults_for_timestamp参数说明可以参考上一篇文章:

 

http://www.cnblogs.com/abclife/p/5051861.html

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM