安装 MySQL 并检查 root 密码失败? [英] Installing MySQL and checking root password fails?

查看:159
本文介绍了安装 MySQL 并检查 root 密码失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近使用安装程序卸载并重新安装了 MySQL(在 Windows 7 上).当我尝试设置 MySQL 服务器时,除非我输入当前"root 密码,否则它不会让我继续???如果我完全卸载并重新安装程序,我不明白怎么会有当前的 root 密码.

I recently uninstalled and reinstalled MySQL (on Windows 7) using the installer. When I try to set up the MySQL Server, it won't let me continue unless I enter the "current" root password??? I don't understand how there can be a current root password if I completely uninstalled and reinstalled the program.

我尝试过使用空白密码以及我能想到的所有密码,但都没有奏效.谷歌完全没有帮助,因为我发现的每个结果要么是指自制"安装,不管是什么,要么是指在 Linux 上的安装.是否有一些卸载程序拒绝删除的配置文件文件夹,我需要手动删除?还是我错过了什么?

I've tried with a blank password as well as every password I can possibly think of that I would have used and nothing works. Google is completely unhelpful as every result I've found either refers to a "homebrew" installation, whatever that is, or refers to installations on Linux. Is there some folder of config files that the uninstallation refuses to delete that I need to remove manually? Or am I missing something else?

推荐答案

卸载过程后,请检查以下目录是否存在并删除:

After uninstallation process, please check following directories if it exists and remove:

  • C:\Program Files\MySQL
  • C:\Program Files (x86)\MySQL
  • C:\ProgramData\MySQL
  • C:\Users[用户名]\AppData\Roaming\MySQL

PS:请记住,如果您的工作站上安装了多个 MySql 实例,则需要进入每个目录并仅删除相关实例.

PS: Please keep in mind that If you have multiple MySql Instances installed on your workstation, you need to go into each directory and delete only the relevant instance.

这篇关于安装 MySQL 并检查 root 密码失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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