MacOSX homebrew mysql root password

前端 未结 21 1610
自闭症患者
自闭症患者 2020-12-04 05:43

For some reason MySQL stopped giving access for root. Uninstalled and reinstalled with Homebrew. Fresh install, fresh tables but when I enter

mysql -u root -         


        
21条回答
  •  北海茫月
    2020-12-04 06:06

    The default password when you install mysql via brew is root try this, it worked for me

    mysql -uroot -proot

提交回复
热议问题