powershell的stop-service無法關閉mysql的service

在學習使用powershell時,使用stop-service來關閉mysql的服務,總是碰到「無法打開計算機「.」上的 MySQL 服務」的錯誤。 使用管理員權限啓動powershell後,再次執行stop-service命令,mysql的服務可以正常關閉。 powershell的更多使用方法可以參考官方文檔: https://docs.microsoft.com/zh-cn/powershel
相關文章
相關標籤/搜索