Homebrew Install Mysql and Connect to Workbentch
Go to my.cnf file and in section
[mysqld]
add line:default-authentication-plugin=mysql_native_password
.
Then, login to mysql server from terminal and run
mysql -u root -p
, then inside shell execute this command: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';
exit from mysql shell with
exit
and run sudo service mysqld restart
.
Comments
Post a Comment