输入banner图图片脚本导航/分类

mysql5sql-mode引起的错误解决办法

mysql5.0新加的sql-mode有关系,因为前一阵子刚刚看过手册.果然,作了如下更改后就不再提示了.

修改 my.ini 文件.

# Set the SQL mode to strict

代码如下
sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”

改为:

# Set the SQL mode to strict

代码如下
sql-mode=”NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”