I just installed mysql in terminal through homebrew.
Now when I try to connect to mysql it fails, but after I run mysqld
it works..
So what I n
You don't need to setup a plist anymore. The latest version of brew (1.3.4) as of Oct 2017, you can only run:
brew services start
and it will auto start every time you restart your computer. The command brew info
gives you this
To have launchd start mysql now and restart at login: brew services start mysql Or, if you don't want/need a background service you can just run: mysql.server start