1
但是发现其表名大小写敏感,也没指定配置文件,参考我之前写的:
mysql8卸载重新安装并配置lower_case_table_names=1
mysql having报错this is incompatible with sql_mode=only_full_group_by
于是重新编写docker-compose.yml
对应的my.cnf
然后运行
发现这里提示is not shared from the host and is not known to Docker.
我们配置一下,删除容器和镜像,重新运行
然后查询测试