MYSQL安裝出現could not start the service mysql error:0處理
當各位在安裝、重裝時出現could not start the service mysqlerror:0的錯誤時,可以嘗試下面兩種方法。
一、方式1
MySQL安裝是出現could not start the service mysql error:0 提示錯誤,解決方法:
首 先,在管理工具->服務裡面将MySQL的服務給停止,然後打開cmd 進入你的MySQL bin目錄下,例如 C:\Program Files\MySQL\MySQL Server 5.0\bin 然後使用如下指令mysqld-nt -remove 然後就會顯示......success!好了下面進入添加删除程式,找到MySQL選擇解除安裝,記得選擇remove。最後将MySQL目錄删除,還有資料庫的目錄也删除。
一、方式2
檢視服務中有沒有mysql,如果有将該服務停掉;
安裝mysql 5.1.33,在運作ServerInstance Configuration wizard時的Execute configurattion步驟中的第三項Start Service進出錯,錯誤提示為Could not start the service MySQL (出現這種情況一般是因為裝過mysql,解除安裝不幹淨造成的。解除安裝後重新開機後再重裝。注意看下服務,如果未能解除安裝,可以用mysqld-nt -remove解除安裝)。
在控制台中運作添加删除程式,将mysql解除安裝;
解除安裝後打開系統資料庫,檢視HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services下的鍵值,如果有相關mysql鍵值(mysql、mysqladmin)則删掉,即可;
重新開機,将mysql的安裝殘餘目錄删掉 (檢視服務,此時服務中已沒有mysql);
重新安裝mysql.安裝後先不要運作ServerInstance Configuration wizard,重新開機後在開始菜單中運作該向導,即可。
windowsxp系統 mysql-5.0.81
提示:1045 access denied for user using password yes
MySQL 5.1 安裝過程中報apply security setting錯誤的解決辦法 收藏
Mysql安裝錯誤apply security settings 解決方法
The securitysettings could not be applied to the database because the connection has failedwith the following error.
Error Nr. 1045
Access denied foruser (using password: YES)
If a personalfirewall is running on your machine, please make sure you have opened the TCPport 3306 for connections. Otherwise no client application can connect to theserver. After you have opened the port please press [Retry] to apply thesecurity settings.
If you arere-installing after you just uninstalled the MySQL server please note that thedata directory was not removed automatically. Therefore the old password fromyour last installation is still needed to connect to the server. In this caseplease select skip now and re-run the Configuration Wizard from the start menu.
MySQL 5.1 安裝過程中報apply security setting錯誤的解決辦法
1, 解除安裝MySQL
2, 删除目錄 C:\Documents and Settings\All Users\ApplicationData\MySQL
3, 重新安裝MySQL 就 OK 啦
------------------------------------------
[MySQL] Could notstart the service MySQL 解決方法
具體方法如下:
解除安裝後打開系統資料庫,檢視HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services 下的鍵值,如果有相關mysql鍵值(mysql、mysqladmin)則删掉,即可;
重新安裝mysql.安裝後先不要運作Server InstanceConfiguration 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 createwindows service for mysql.error:0錯誤,錯誤的原因多數由于重新安裝mysql或者對mydql更新,使用MySQLConfiguration Wizard而産生.
解決的方法:到regedit把系統資料庫,用F3循環查找“mysql”,全部删除,重新裝mysql,即可。
收藏于 2011-03-18
來自于百度空間