安装MYSQL5报错1364

来源:互联网 发布:身份证照片裁剪软件 编辑:程序博客网 时间:2024/05/21 17:47

在配置mysql的时候,安装到最后一步 execute
执行 第四项apply security settings  的时候出错了  报了1364的错误
后面的错误信息是这样的authentication_string doesn't have a default value 

 

解决办法:

红框中选项不要勾选
MySQL 5 uses a strict mode which needs to be disabled.
In Windows, Goto Start-->Programs-->MySQL->MySQL Instance Config Wizard. Follow through the Reconfigure Instance option-->Detailed Configuration-->Continue Next a few screens. 
At the bottom under Enable TCP/IP option there is 'Enable Strict Mode'. Deslect this option (no tick). Save changes and MySQL will restart.