win7 mysql 安装 报The security settings could not be applied to the database

什么原因出现的这种错误就不在这里说了,直接说解决方案吧。

我的是win7 32bit系统。

在安装mysql进行到如下图步骤的时候。

win7 mysql 安装 报The security settings could not be applied to the database_第1张图片

出现如下错误。

win7 mysql 安装 报The security settings could not be applied to the database_第2张图片

无论怎么操作都不成功,网上也看了好多例子。

解决方案:

(1)先卸载mysql数据库,我用的是金山卫士。

win7 mysql 安装 报The security settings could not be applied to the database_第3张图片

 

点击立即卸载。

(2)可别忘记把my.ini也删了啊

win7 mysql 安装 报The security settings could not be applied to the database_第4张图片

以上的步骤处理完后,你在重新安装还是报错的。根本 不起作用啊。

(3)以下是至关重要的一步。

 

打开我的电脑,进入C盘

如下图:

 

win7 mysql 安装 报The security settings could not be applied to the database_第5张图片

让c盘的隐藏文件夹programData显示出来

win7 mysql 安装 报The security settings could not be applied to the database_第6张图片

这个时候你的c盘根目录中的文件就会多很多文件

找到ProgramData文件夹。在搜索栏中输入mysql

win7 mysql 安装 报The security settings could not be applied to the database_第7张图片

把上边的三个文件都删掉。

这个时候就大功告成了,你在重新安装mysql就不会出现之前的错误了。

win7 mysql 安装 报The security settings could not be applied to the database_第8张图片

如果帮助到你的话,记得评论哦。

 

你可能感兴趣的:(win7 mysql 安装 报The security settings could not be applied to the database)