Mysql安裝時出現(xiàn)couldnotstarttheservicemysqlerror:0怎么辦

這篇文章主要講解了“MySQL安裝時出現(xiàn)could not start the service mysql error:0怎么辦”,文中的講解內(nèi)容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“Mysql安裝時出現(xiàn)could not start the service mysql error:0怎么辦”吧!

站在用戶的角度思考問題,與客戶深入溝通,找到尉氏網(wǎng)站設(shè)計與尉氏網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗,讓設(shè)計與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個性化、用戶體驗好的作品,建站類型包括:成都做網(wǎng)站、成都網(wǎng)站建設(shè)、企業(yè)官網(wǎng)、英文網(wǎng)站、手機端網(wǎng)站、網(wǎng)站推廣、域名注冊、網(wǎng)頁空間、企業(yè)郵箱。業(yè)務覆蓋尉氏地區(qū)。

MYSQL安裝出現(xiàn)could not start the service mysql error:0處理
當各位在安裝、重裝時出現(xiàn)could not start the service mysqlerror:0的錯誤時,可以嘗試下面兩種方法。
一、方式1
MySQL安裝是出現(xiàn)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目錄刪除,還有數(shù) 據(jù)庫的目錄也刪除。
一、方式2
查看服務中有沒有mysql,如果有將該服務停掉;
安裝mysql 5.1.33,在運行ServerInstance Configuration wizard時的Execute configurattion步驟中的第三項Start Service進出錯,錯誤提示為Could not start the service MySQL (出現(xiàn)這種情況一般是因為裝過mysql,卸載不干凈造成的。卸載后重啟后再重裝。注意看下服務,如果未能卸載,可以用mysqld-nt -remove卸載)。
在控制面板中運行添加刪除程序,將mysql卸載;
卸載后打開注冊表,查看HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services下的鍵值,如果有相關(guān)mysql鍵值(mysql、mysqladmin)則刪掉,即可;
重啟,將mysql的安裝殘余目錄刪掉 (查看服務,此時服務中已沒有mysql);
重新安裝mysql.安裝后先不要運行ServerInstance Configuration wizard,重啟后在開始菜單中運行該向?qū)В纯伞?br/>windowsxp系統(tǒng) mysql-5.0.81
提示:1045 access denied for user 'root'@'localhost'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 'root'@'localhost'(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 解決方法
安 裝mysql 5.1.33,在運行ServerInstance Configuration wizard時的Execute configurattion步驟中的第三項Start Service進出錯,錯誤提示為Could not start the service MySQL (出現(xiàn)這種情況一般是因為裝過mysql,卸載不干凈造成的。卸載后重啟后再重裝。注意看下服務,如果未能卸載,可以用mysqld-nt -remove卸載)。
具體方法如下:
查看服務中有沒有mysql,如果有將該服務停掉;
在控制面板中運行添加刪除程序,將mysql卸載;
卸載后打開注冊表,查看HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services 下的鍵值,如果有相關(guān)mysql鍵值(mysql、mysqladmin)則刪掉,即可;
重啟,將mysql的安裝殘余目錄刪掉 (查看服務,此時服務中已沒有mysql);
重新安裝mysql.安裝后先不要運行Server InstanceConfiguration wizard,重啟后在開始菜單中運行該向?qū)?,即可?br/>PS:一種值得參考的方法
---------------------------------------------
msyql安裝到最后一步start service錯誤解決方法
1,到控制面板里面先把mysql刪除.
2.到c盤C:\Program Files目錄下把mysql目錄刪除.
3.如果在其他盤還有設(shè)置目錄也要刪除.空目錄也要刪除
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循環(huán)查找“mysql”)
5.如果任務管理器里有關(guān)mysql內(nèi)容也刪除
6,把防火墻關(guān)了
7,重新裝mysql(這里我沒有重啟計算機)
重裝時候有必要的話,重啟計算機,停用IIS,和刪除temp里的臨時文件.
實在不行的話,配置mysql時候,把mysql服務換個服務名.
******************************************************************************************
---------------------------
刪除項時出錯。
---------------------------
無法刪除 LEGACY_MYSQL51: 刪除項時出錯。
---------------------------
確定 
---------------------------
解決辦法:注冊表項里右鍵增加administrators所有權(quán)限
安裝mysql時可能產(chǎn)生cannot createwindows service for mysql.error:0錯誤,錯誤的原因多數(shù)由于重新安裝mysql或者對mydql升級,使用MySQLConfiguration Wizard而產(chǎn)生.
解決的方法:到regedit把注冊表,用F3循環(huán)查找“mysql”,全部刪除,重新裝mysql,即可。

感謝各位的閱讀,以上就是“Mysql安裝時出現(xiàn)could not start the service mysql error:0怎么辦”的內(nèi)容了,經(jīng)過本文的學習后,相信大家對Mysql安裝時出現(xiàn)could not start the service mysql error:0怎么辦這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!

當前文章:Mysql安裝時出現(xiàn)couldnotstarttheservicemysqlerror:0怎么辦
分享網(wǎng)址:http://muchs.cn/article30/ghiepo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供微信小程序、手機網(wǎng)站建設(shè)、網(wǎng)站設(shè)計、小程序開發(fā)、面包屑導航虛擬主機

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)頁設(shè)計公司