MacOSX homebrew mysql root password

前端 未结 21 1608
自闭症患者
自闭症患者 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:12

    Try with sudo to avoid the "Access denied" error:

    sudo $(brew --prefix mariadb)/bin/mysqladmin -u root password NEWPASS

提交回复
热议问题