Hagbard
2 months ago
622
4
Servers

Fresh installation of Brew with MySQL. Can't connect

Posted 2 months ago by Hagbard

I have a fresh installation of homebrew. I wanted to install MySQL, so I ran:

brew install [email protected]

After this, I tried connecting using Sequel Pro and 127.0.0.1 for host, and root for user. This gave me this error:

Unable to connect to host 127.0.0.1, or the request timed out.

Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).

MySQL said: Access denied for user 'root'@'localhost'

If I try to run mysql -uroot in terminal, i also get access denied error.

Please sign in or create an account to participate in this conversation.