我在我的Windows电脑上找不到my.cnf [英] I can not find my.cnf on my windows computer
本文介绍了我在我的Windows电脑上找不到my.cnf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的电脑是Windows XP。
My computer is Windows XP.
我需要找到 my.cnf
才能获得root用户的所有权限。我不小心删除了root用户的一些特权。我仍然有密码,没有问题,我作为root用户登录MySQL。
I need to find my.cnf
to get all privileges back to the root user. I accidentally removed some privileges of the root user. I still have the password and there is no problem for me to log in to MySQL as the root user. But I can not alter a table.
推荐答案
这是我的答案:
- Win + R('run'的快捷方式),键入services.msc,输入
- 您可以找到类似MySQL56
- 您可以看到sth像D:/ Program Files / MySQL / MySQL Server 5.6 / bin \mysqld--defaults-file =D:\ ProgramData\MySQL\MySQL Server 5.6\my.iniMySQL56
完整答案:
http://stackoverflow.com/a/20136523/1316649
这篇关于我在我的Windows电脑上找不到my.cnf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文