Heim >Datenbank >MySQL-Tutorial >MySQL配置文件读取顺序_MySQL

MySQL配置文件读取顺序_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:10:34960Durchsuche

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 下。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn