Authentication plugin 'caching_sha2_password' cannot be loaded

前端 未结 30 2869
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 05:19

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

Authentication plugin \'caching_sha2_password\' cannot be loaded: dlop

30条回答
  •  太阳男子
    2020-11-22 06:03

    • Open MySQL Command Line Client

    • Create a new user with a new pass

    Considering an example of a path to a bin folder on top, here's the code you need to run in the command prompt, line by line:

    cd C:\Program Files\MySQL\MySQL Server 5.7\bin
    MySQL -u root -p    
    current password...***  
    CREATE USER 'nativeuser'@'localhost'  
    IDENTIFIED WITH mysql_native_password BY 'new_password';
    
    • Then, you can access Workbench again (you should be able to do that after creating a new localhost connection and using the new credentials to start using the program).

    Set up a new local host connection with the user name mentioned above (native user), login using the password (new_password)

    Courtesy: UDEMY FAQs answered by Career365 Team

提交回复
热议问题