安裝完MySQL資料庫,在服務列表裡找不到MySQL的解決辦法

來源:互聯網
上載者:User

標籤:style   share   切換   box   解決方案   .net   目錄   lin   lib   

安裝MySQL資料庫完成後,在控制台的服務列表裡找不到MySQL服務啟動項
解決方案:(參考以下命令)

1、開啟cmd,切換到mysql的bin目錄下 (dos命令切換目錄||1、cd\ 返回到根目錄,2、cd 檔案名稱  進入到指定檔案目錄下)

2、 D:\Program Files\MySQL5.1\bin>mysqld.exe -install

Service successfully installed.  (注意了:如果此結果不是Service successfully installed;
而是Install/Remove of the Service Denied!,為什麼出現此種結果:是因為許可權不夠,解決的辦法是使用管理員身份開啟cmd:
在輸入框輸入cmd,在顯示的列表的程式下的cmd.exe上右擊選擇以管理員身份運行)

3、 D:\Program Files\MySQL5.1\bin>net start MySQL

MySQL 服務已經啟動成功。

開啟服務列表,看到mysql服務了

  

安裝完MySQL資料庫,在服務列表裡找不到MySQL的解決辦法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.