Authentication plugin 'caching_sha2_password' cannot be loaded

前端 未结 30 3183
爱一瞬间的悲伤
爱一瞬间的悲伤 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:01

    I was installing MySQL on my Windows 10 PC using "MySQL Web Installer" and was facing the same issue while trying to connect using MySQL workbench. I fixed the issue by reconfiguring the server form the Installer window.

    Clicking on the "Reconfigure" option it will allow to reconfigure the server. Click on "Next" until you reach "Authentication Method".

    Once on this tab, use the second option "Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)".

    Keep everything else as is and that is how I solved my issue.

提交回复
热议问题