##关于pxc5.6 升级到pxc5.7的问题
- the row size is 8162 which is greater than maximum allowed size (8126
- that resides in non-transactional storage engine with pxc_strict_mode = ENFORCING or MASTER
- 用group by 查询时抛出异常
1. 解决row size is 8192
12345 建表的时候将默认innodb引擎改为ENGINE=MyISAM DEFAULT CHARSET=utf8;但是在集群中MyISAM不支持同步,所以不跟根本解决问题,可以试一下在mysqld.cnf 中添加innodb_strict_mode=off ,然后重启mysql,可以继续使用Innodb引擎
2. 解决engine with pxc_strict_mode = ENFORCING or MASTER异常
|
|
3. 解决roup by 查询时抛出如下异常
Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘userinfo.t_long.user_name’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

