启动出错
[root@main ~]# docker logs MysqL-first 2022-08-22 02:50:33+00:00 [Note] [Entrypoint]: Entrypoint script for MysqL Server 8.0.30-1.el8 started. 2022-08-22 02:50:33+00:00 [ERROR] [Entrypoint]: MysqLd Failed while attempting to check config command was: MysqLd --verbose --help --log-bin-index=/tmp/tmp.YypEkD3mA6 MysqLd: Can't read dir of '/etc/MysqL/conf.d/' (OS errno 2 - No such file or directory) MysqLd: [ERROR] Stopped processing the 'includedir' directive in file /etc/my.cnf at line 36. MysqLd: [ERROR] Fatal error in defaults handling. Program aborted!
版本有问题用的MysqL image回退到MysqL:8.0.26 就可以
其它博客有提醒关闭本机MysqL服务的 使用systemctl status MysqLd.service 发现没有运行中的MysqL服务
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。