Limiting the accessibility of these objects will protect the confidentiality, integrity, and availability of the MySQL database.
Solution
Set permissions so that configuration files are readable by database administrators and database users. Typically the MySQL configuration file on Unix systems is located in /etc/mysql/my.cnf. On Windows it will be located in the %SYSTEMDIR% or install folder.