mysql error 1364

在配置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.

这部分英文的意思是说, 在安装mysql的时候, 选择了严格的较验规则, 导致安装不能通过,
想要解决这个问题, 这样操作, 开始--->  mysql ----> MySQL Instance Config Wizard.
---------> 根据你自己的需要选择配置项 ---->Detailed Configuration-->
直到 TCH/IP 的配置界面底部出现这样的选项:
                                           Enable Strict Mode,

去掉这个勾选, 然后继续配置, 就可以解决这个问题了.

翻译的不好, 希望可以帮到遇到同样问题的同学.

猜你喜欢

转载自yztzz.iteye.com/blog/1452244
今日推荐