Skip to content

Instantly share code, notes, and snippets.

@asikur
Created December 7, 2019 17:18
Show Gist options
  • Save asikur/0abb7a183acde17482ea7d59ace7ba43 to your computer and use it in GitHub Desktop.
Save asikur/0abb7a183acde17482ea7d59ace7ba43 to your computer and use it in GitHub Desktop.
Installing MySQL 8 using homebrew and then connect it by Sequel Pro

Follow the steps bellow to fix problem connecting MySQL 8 using a database client i.e Sequel Pro

brew update
brew install mysql
brew services start mysql

Add default-authentication-plugin=mysql_native_password to my.cnf file. This config file can be found in the location /usr/local/etc/my.cnf

mysql -uroot
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '[password]';
exit
brew services restart mysql

Then connect mysql using Sequel Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment