MySQL 8.0.11 version on mac system, the installation is successful, but the connection using Navicat fails

After the MySQL installation is successful, the connection using navicat fails, and the error is as follows:

  

2059 - Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(../Frameworks/caching_sha2_password.so, 2): image not found

 

It probably means that the authentication plugin 'caching_sha2_password' could not be loaded

solve

  1. Open System Preferences, find mysql, and click Initialize Database.
  2. Enter your password.
  3. Select 'Use legacy password'.
  4. Restart the mysql service.
  5. Navicat links are now available. 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325524197&siteId=291194637