本文主要是介绍ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
新建用户:
insert into mysql.user(user,host,password) values("test","%",password("test"));
出现以下提示:
ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value
解决办法:
找到安装目录中的mysql.ini
修改
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
为
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
重启服务,新建用户,提示:
Query OK, 1 row affected.
这篇关于ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!