Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在测试一个预构建项目,其中不同版本的 my.cnf 文件被复制到 /etc/
据我所知,首先读取/etc/my.cnf,然后mysql读取/etc/mysql/my.cnf,这会覆盖/etc/my.cnf中的所有设置,我该如何重新排序以确保/etc/my.cnf 最后应用?
我试图删除 /etc/mysql/my.cnf 但这会阻止 mysql 一起启动。