启动出错
[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服务
标签:00,--,ERROR,问题,Entrypoint,mysql,mysqld,docker From: https://www.cnblogs.com/aidaminiu/p/16612433.html