The security settings could not be applied to the database because the connection has failed with the following error.mysql
Error Nr. 1045sql
Access denied for user 'root'@'localhost' (using password: YES)windows
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.app
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.ide
MySQL 5.1 安裝過程當中報apply security setting錯誤的解決辦法this
1, 卸載MySQLspa
2, 刪除目錄 C:Documents and SettingsAll UsersApplication DataMySQLserver
3, 從新安裝MySQL 就 OK 啦ip
------------------------------------------rem
[MySQL] Could not start the service MySQL 解決方法
安裝mysql 5.1.33,在運行Server Instance Configuration wizard時的Execute configurattion步驟中的第三項Start Service進出錯,錯誤提示爲Could not start the service MySQL (出現這種狀況通常是由於裝過mysql,卸載不乾淨形成的。卸載後重啓後再重裝。注意看下服務,若是未能卸載,能夠用mysqld-nt -remove卸載)。
具體方法以下:
查看服務中有沒有mysql,若是有將該服務停掉;
在控制面板中運行添加刪除程序,將mysql卸載;
卸載後打開註冊表,查看HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices 下的鍵值,若是有相關mysql鍵值(mysql、mysqladmin)則刪掉,便可;
重啓,將mysql的安裝殘餘目錄刪掉 (查看服務,此時服務中已沒有mysql);
從新安裝mysql.安裝後先不要運行Server Instance Configuration wizard,重啓後在開始菜單中運行該向導,便可。
PS:一種值得參考的方法
---------------------------------------------
msyql安裝到最後一步start service錯誤解決方法
1,到控制面板裏面先把mysql刪除.
2.到c盤C:Program Files目錄下把mysql目錄刪除.
3.若是在其餘盤還有設置目錄也要刪除.空目錄也要刪除
4.到regedit把註冊表
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL
有的話,所有刪除!
(技巧:用F3循環查找「mysql」)
5.若是任務管理器裏有關mysql內容也刪除
6,把防火牆關了
7,從新裝mysql(這裏我沒有重啓計算機)
重裝時候有必要的話,重啓計算機,停用IIS,和刪除temp裏的臨時文件.
實在不行的話,配置mysql時候,把mysql服務換個服務名.
******************************************************************************************
---------------------------
刪除項時出錯。
---------------------------
沒法刪除 LEGACY_MYSQL51: 刪除項時出錯。
---------------------------
肯定
---------------------------
解決辦法:註冊表項裏右鍵增長administrators全部權限
安裝mysql時可能產生cannot create windows service for mysql.error:0錯誤,錯誤的緣由多數因爲從新安裝mysql或者對mydql升級,使用MySQL Configuration Wizard而產生.
解決的方法:到regedit把註冊表,用F3循環查找「mysql」,所有刪除,從新裝mysql,便可。