mysql8 windows下修改my.ini配置 this is incompatible with sql_mode=only_full_group_by

1、找到安装路径


show variables like '%sql_mode';

SHOW VARIABLES LIKE 'config_file';

SHOW VARIABLES LIKE '%datadir%';


SHOW VARIABLES;

mysql8 windows下修改my.ini配置 this is incompatible with sql_mode=only_full_group_by_第1张图片

mysql8 windows下修改my.ini配置 this is incompatible with sql_mode=only_full_group_by_第2张图片

2、修改

sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

mysql8 windows下修改my.ini配置 this is incompatible with sql_mode=only_full_group_by_第3张图片

你可能感兴趣的:(sql,数据库)