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

Where is the mysql configuration file for linux?

Release: 2019-12-26 15:17:00
Original
5781 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template