Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MySQL 8 版本 my.cnf 加载问题 #504

Open
Qiyez opened this issue Jul 22, 2022 · 3 comments
Open

MySQL 8 版本 my.cnf 加载问题 #504

Qiyez opened this issue Jul 22, 2022 · 3 comments

Comments

@Qiyez
Copy link

Qiyez commented Jul 22, 2022

mysql/mysql-server 镜像文件默认加载的 my.cnf 没有填入规则加载其他配置文件

把镜像修改为 mysql 即可解决配置文件的加载问题
image

下图是 mysql 镜像的 my.cnf 默认配置 有正确引入其他配置文件规则
image

@jeeinn
Copy link
Contributor

jeeinn commented Oct 12, 2022

感谢分享,解决了配置不生效的疑惑

@Glorydaqin
Copy link

m1芯片直接改用mysql好像不支持。mysql/mysql-server支持m1,可以改绑定位置为 /etc/my.cnf正常使用

@xuanxiaoyu69
Copy link

改为/etc/mysql/my.cnf可能会好一点

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants