MySQL 9로 업데이트할 때 로그인 이슈
mysql_native_password에서 caching_sha2_password 으로 바꾸는 법
mysql_native_password에서 caching_sha2_password 으로 바꾸는 법[mysqld] skip-grant-tablesbrew services restart mysqlmysql -urootRefresh the privileges: FLUSH PRIVILEGES;SELECT User, Host, plugin FROM mysql.user WHERE plugin = 'mysql_native_password';ALTER USER '{user}'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'new_password';brew services restart mysql
Last updated