brew services restart mysql
==> Successfully stopped `mysql` (label: homebrew.mxcl.mysql)
==> Successfully started `mysql` (label: homebrew.mxcl.mysql)
brew services list
Name Status User File
mysql stopped me ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Same with mariadb.
Can /usr/local/var/mysql
content influence someway?
Maybe your MySql is crashing, I would advise looking into logs to get more insights have a look at this thread to see logs location https://serverfault.com/questions/42531/where-is-my-mysql-log-on-os-x
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.