Home > Database > Mysql Tutorial > MySQL配置文件读取顺序_MySQL

MySQL配置文件读取顺序_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:10:34
Original
960 people have browsed it

mysql的配置文件读取顺序:

/etc/my.cnf
/etc/mysql/my.cnf
user-home-dir/my.cnf
$MYSQL_HOME/my.cnf

 

参考http://blog.lixiphp.com/find-mysql-configuration-file/#axzz303YbuFx5

 

Windows:Windows 的配置文件为 my.ini,一般在 MySQL 的安装目录下或者 c:/Windows 下。

Linux:Linux 的配置文件为 my.cnf ,一般在 /etc 下。

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