Vista上的my.cnf在哪里? [英] Where is the my.cnf located on a Vista?

查看:76
本文介绍了Vista上的my.cnf在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道我在Vista上哪里可以找到my.cnf文件吗?我正在使用XAMPP(C:/xampp),并尝试在该目录中搜索,但似乎找不到它.

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.

推荐答案

my.cnf或my.ini可能位于C:\ xampp \ mysql \

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

如果没有,您可以尝试以下操作,我在此处:

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

要找到这些MySQL配置文件,请执行以下操作:

To find these MySQL config files, do this:

  1. 转到文件夹选项:在任何文件夹中,转到顶部的水平主文本菜单>>工具>>文件夹选项

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

启用查看隐藏的文件和文件夹"和查看受保护的系统文件",然后保存并保存退出

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

转到C驱动器,找到并重命名my.ini文件,该文件现在将可见.将其重命名为my.ini.bak

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

转到/xampp/msql/bin-找到并将my.cnf重命名为my.cnf.bak

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

如果没有文件my.cnf,但是有一个名为my的文件-那就是您想要的文件.将其重命名为my.cnf.bak

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

这篇关于Vista上的my.cnf在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆