项目代码在阿里云上面不能正常运行?
我从git上面clone的代码,在本地能正常运行。但是放在阿里云的ECS上面能进首页,但是到管理后台就会报这个错。本地是可以正常进入的。
SQLSTATE[42000]: Syntax error or access violation: 1055 'heicoder.topics.title' isn't in GROUP BY (SQL: SELECT COUNT(id) AS aggregate FROM (select `topics`.* from `topics` group by `topics`.`id`) AS agg)
你们有遇到类似的情况吗?
推荐文章: