Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Where is the configuration file for mysql in linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report