开发者

Where can I find the file my.cnf or my.ini file? [closed]

开发者 https://www.devze.com 2023-04-04 06:04 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

The community reviewed whether to reopen this question 1 year ago and left it closed:

Original close reason(s) were not resolved

Improve this question

I've read about MySQL replication and i need to change some configuration but I can't find the file my.cnf or my.ini. I don't know which MySQL version I have but I've downloaded it a long time ago, as a .zip. My开发者_StackOverflow社区 box runs Windows 7 64. Where can i find this file? Should I create it? Where? Thank you.


I do not have Window present at the moment, but I think it should reside in the C:\WINDOWS\ directory.

When invoking help on GNU/Linux with mysql --help it shows (excerpt):

Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf 

Maybe you can get the same information on Windows, too.

Btw: with mysql --version you can get your current version.

0

精彩评论

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

关注公众号