开发者

Priority of my.ini location

I need the config file that mysqld.exe is using. Is this the right order?

a) --default开发者_开发问答s-file="c:\path\to\my.ini"
b) <programdir>\..\my.ini
c) %systemroot%\my.ini

And are there any more?


According to the MySQL documentation, the order of precedence for configuration files is

WINDIR\my.ini, WINDIR\my.cnf
C:\my.ini, C:\my.cnf
INSTALLDIR\my.ini, INSTALLDIR\my.cnf
--defaults-extra-file=path

Loaded in order from top to bottom, if present.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜