Mysql輸入mysqld --install報錯Install/Remove of the Service Denied!
場景:
因之前還原過系統,導致mysql服務沒有了,但是再D盤的相關文件還存在,於是嘗試重新註冊一個服務
然後執行mysqld --install
輸入命令後返回Install/Remove of the Service Denied!
解決:
第一:需要在Mysql的安裝路徑下的bin文件夾路徑下運行
第二:需要在以管理員運行的cmd中運行,不然會出錯Install/Remove of the Service Denied!