-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql5.7情况下,打开首页,mysql报错 #9
Comments
也可以直接修改mysql.ini配置文件把ONLY_FULL_GROUP_BY删除吧,可能是这个配置导致了doctine生成的msyql语句无法执行 |
上边解决之后,出现下列问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
猜测上边问题是由于mysql5.7的sql_mode问题引起的,
一种方法大概是设置sql_mode为only_full_group_by模式。
另外一种方法大概是修改symfony的配置文件,现在正在考虑怎么研究代码内配置。
The text was updated successfully, but these errors were encountered: