宝塔面板上移植过来后就开始报错,在宝塔面板上是可以正常运行的,移植过来就不行了,求大佬帮忙看看
网站是tp框架的,数据库是mysql5.7.44,访问网站后提示:
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘lldh.h.id’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by