【解決方案】[Warning] World-writable config file ‘/etc/(…)/my.cnf’ is ignored

changed permissions to /mysql/my.conf file:

$ chmod 0444 my.cnf

When using Docker Toolbox and the Devilbox on Windows, *.cnf files must have read-only file permissions, otherwise they are not sourced by the MySQL server.

Make sure to chmod 0444 *.cnf after adding your values.

 

參考:https://devilbox.readthedocs.io/en/latest/configuration-files/my-cnf.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章