MySQL-8.0.24主从环境搭建

docker搭建创建MySQL容器

master主库
1
docker run -d -p 3316:3306 -e MYSQL_ROOT_PASSWORD=password -e TZ=Asia/Shanghai --name mysql-8.0.24-master mysql:8.0.24 --lower-case-table-names=1 --default-authentication-plugin=mysql_native_password
阅读更多

MySQL-5.7.28分组时报错1055

问题

问题描述
1
2
错误代码: 1055
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'ht-3.0.project_info.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
阅读更多