With MySQL, a my.cnf can be used specify configuration properties. MySQL may look in a variety of places to find this file, and if it doesn't find it may use built-in defaults.
How do you know what my.cnf is being used?
mysqld --help --verbose | grep -B 1 cnf
在“按照给定顺序从以下文件中读取默认选项:”行的下方将是MySQL正在寻找my.cnf文件的位置。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.