当前位置: 首页 > 工具软件 > Choose Plugin > 使用案例 >

【编程实践杂记】Authentication plugin 'caching_sha2_password' cannot be loaded

邵祺
2023-12-01

Authentication plugin ‘caching_sha2_password’ cannot be loaded

I am connecting MySQL - 8.0 with MySQL Workbench and getting the below error:

Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_password.so, 2)

Note: For MAC OS

Open MySQL from System: Preferences > Initialize Database >
Type your new password.
Choose ‘Use legacy password’
Start the Server again.
Now connect the MySQL Workbench

https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

 类似资料: