mybatis执行GROUP BY类的语句会报错 this is incompatible with sql_mode=only_full_group_by
需要在my.ini中加上
写道
# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
本文介绍了解决使用MyBatis执行GROUP BY语句时出现的thisisincompatiblewithsql_mode=only_full_group_by错误的方法。通过修改my.ini文件中的SQL模式设置,可以确保应用程序正常运行。
mybatis执行GROUP BY类的语句会报错 this is incompatible with sql_mode=only_full_group_by
需要在my.ini中加上
284

被折叠的 条评论
为什么被折叠?