MacOSX: autostart mysql on boot

前端 未结 7 886
隐瞒了意图╮
隐瞒了意图╮ 2020-12-13 08:41

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

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 09:28

    Mipadi's answer failed for me with MySQL 5.6.13 installed with Homebrew on the date of this post. But I checked brew info mysql as he suggested and it gave me a working solution:

    > ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
    

提交回复
热议问题