[英]error when starting mysql with brew
我開始學習PHP Laravel,到達了代客安裝位置,並到達需要使用brew通過以下命令安裝mysql的地步
brew install mysql
mysql安裝成功完成,但是當我運行命令時
brew services start mysql
我收到這個錯誤,找不到解決方法
sh: 1: list: not found
Error: Failure while executing: load -w
/home/chemseddinez/Library/LaunchAgents/homebrew.mxcl.mysql.plist
PS:我正在使用ubuntu 16.04 LTS
brew services
僅適用於macOS的launchctl管理器。 您可以使用$(brew --prefix)/bin/mysql.server
手動啟動mysql。
或者,您可以只安裝apt-get install mysql-server
並通過systemctl start mysql
作為守護程序啟動它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.