Home  >  Article  >  Operation and Maintenance  >  Where is the mysql configuration file for linux?

Where is the mysql configuration file for linux?

尚
Original
2019-12-26 15:17:005666browse

Where is the mysql configuration file for linux?

In Linux systems, the location of the configuration file is generally /etc/my.cnf or /etc/MySQL/my.cnf.

We have seen some people try to modify the configuration file but it does not take effect because the file they modified is not 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 don’t know the currently used configuration file path, you can try the following operations:

Where is the mysql configuration file for linux?

Related recommendations: linux tutorial

The above is the detailed content of Where is the mysql configuration file for linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn