docker远程连接mysql8.0 报错问题解决(this is incompatible with sql_mode=only_full_group_by)
配置config.xml 后使用 docker ps发现rpa_backend_task不是up
使用【docker logs 容器id】发现下面报错
this is incompatible with sql_mode=only_full_group_by
改一下mysql配置在mysql.ini或者my.cnf下增加
1.centos8 MySQL配置路径
vim /etc/my.cnf
最下面添加
[mysqld]
sql_mode ='STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION'
然后重启mysql
service mysqld restart
2.最后重启docker
sudo sh stop.sh
sudo sh start.sh
本文作者: 永生
本文链接: https://yys.zone/detail/?id=228
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明出处!
发表评论
评论列表 (0 条评论)
暂无评论,快来抢沙发吧!