The security settings could not be applied to the database because the connection has failed with the following error.
Error Nr. 1045
Access denied for user 'root'@'localhost' (using password: NO)
If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306 for connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings.
If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to the server. In this case please select skip now and re-run the Configuration Wizard from the start menu.
昨天安装mysql-5.5.20-winx64.msi 安装成功 ,今天卸载了 。再安装就给提示,网上说给文件夹删了。不好用
答案:2 悬赏:20 手机版
解决时间 2021-02-28 16:24
- 提问者网友:不爱我么
- 2021-02-28 07:34
最佳答案
- 五星知识达人网友:雪起风沙痕
- 2021-02-28 08:42
原因是mysql没有卸载干净。
1 你把 我的电脑 里面的隐藏文件也显示出来,C:\Documents and Settings\All Users\Application Data下面有个mysql文件夹删除。
2 进入 注册表,找到HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL删除
3 进入 注册表,找到HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL删除,然后重新安装,就行了。
1 你把 我的电脑 里面的隐藏文件也显示出来,C:\Documents and Settings\All Users\Application Data下面有个mysql文件夹删除。
2 进入 注册表,找到HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL删除
3 进入 注册表,找到HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL删除,然后重新安装,就行了。
全部回答
- 1楼网友:第四晚心情
- 2021-02-28 08:57
很明显你之前是装过了,而且还没删除就来重装.真是.......no zuo no die
第一个选项是让你修改已安装的mysql ,
第二个选项是修复 你已安装的mysql
第三个是删除你的mysql
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯