the security settings could not be applied to the database(mysql安装error)【简记】
在安装mysql时,出现“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: yes)” 解决办法:
-
在装mysql时,总是到最后启动的时候出错,出错内容如下:
就是最后的apply security setting过不去
提示:
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: yes)
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.
解决方法:
1, 首先卸载mysql
2, 再根据这个目录 c:\documents and settings\all users\application data\mysql,将mysql删除
3, 重新安装mysql 就好了(电脑不用重启)
---------------------
原文链接:
上一篇: 老婆逗我说
下一篇: WCF(三)分布式事务
推荐阅读
-
the security settings could not be applied to the database(mysql安装error)【简记】
-
the security settings could not be applied to the database(mysql安装error)【简记】
-
安装mysql出现The security setting could not be applied问题_MySQL
-
安装mysql出现The security setting could not be applied问题_MySQL
-
the security settings could not be applied to the database_MySQL
-
the security settings could not be applied to the database_MySQL