Where is the configuration file for mysql in linux
On linux systems, the location of the configuration file is usually / etc/my.cnf or / etc/MySQL/my.cnf.
We have seen some people try to modify the configuration file but it does not work because they are not modifying the file read by the server. For example, under Debian, / etc/mysql/my.cnf is the configuration file read by MySQL, not / etc/my.cnf.
If you do not know which profile path is currently in use, you can try the following:
These are the details of where linux's mysql configuration file is. For more information, please follow other related articles!