Where is the my.cnf located on a Vista? [closed]

大兔子大兔子 提交于 2019-12-12 02:08:55

问题


Would anyone know where I could find the my.cnf file(s) on Vista? I am using XAMPP (C:/xampp) and I tried searching within that directory, but I can't seem to find it.


回答1:


my.cnf or my.ini is probably in C:\xampp\mysql\

If not there, you can try the following, which I found here:

To find these MySQL config files, do this:

  1. Go to Folder Options: in any folder, go to the top horizontal main text menu >> Tools >> Folder Options

  2. Enable 'View Hidden Files and Folders', and 'View Protected System Files', save & exit

  3. Go to C Drive, locate and rename the my.ini file, which will now be visible. Rename it as my.ini.bak

  4. Go to /xampp/msql/bin - locate and rename my.cnf, to my.cnf.bak

  5. If there is no file my.cnf, but there is one called my - then that is the one you want. Rename it to my.cnf.bak



来源:https://stackoverflow.com/questions/8114841/where-is-the-my-cnf-located-on-a-vista

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!