brew install mysql on macOS

I’m trying to setup up MySQL on mac os 10.6 using Homebrew by brew install mysql 5.1.52. Everything goes well and I am also successful with the mysql_install_db. However when I try to connect to the server using: /usr/local/Cellar/mysql/5.1.52/bin/mysqladmin -u root password ‘mypass’ I get: /usr/local/Cellar/mysql/5.1.52/bin/mysqladmin: connect to server at ‘localhost’ failed error: ‘Access denied … Read more