Come posso avviare automaticamente mysqld
Ho provato a seguire il link ma non ha aiutato
Sembra che io abbia un problema di proprietà / permesso, probabilmente legato a aver installato mysql su questa macchina per un account utente diverso.
Ho disinstallato e reinstallato, ma ho ancora
$ brew install mysql
==> Downloading https://homebrew.bintray.com/bottles/mysql-5.6.27.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/mysql-5.6.27.yosemite.bottle.tar.gz
==> Pouring mysql-5.6.27.yosemite.bottle.tar.gz
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
To connect:
mysql -uroot
To have launchd start mysql at login:
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
Then to load mysql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Or, if you don't want/need launchctl, you can just run:
mysql.server start
WARNING: launchctl will fail when run under tmux.
==> Summary