Authentication plugin 'caching_sha2_password' cannot be loaded

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

    I solved this problem by installing MySQL 5.7:

    Step 1 – Enable MySQL Repository

    First of all, You need to enable MySQL 5.7 community release yum repository on your system. The rpm packages for yum repository configuration are available on MySQL official website. Use on of below command as per your operating system version.

    On CentOS and RHEL 7

    yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
    

    On CentOS and RHEL 6

    yum localinstall https://dev.mysql.com/get/mysql57-community-release-el6-9.noarch.rpm
    

    On Fedora 27

    dnf install https://dev.mysql.com/get/mysql57-community-release-fc27-9.noarch.rpm
    

    On Fedora 26

    dnf install https://dev.mysql.com/get/mysql57-community-release-fc26-9.noarch.rpm
    

    On Fedora 25

    dnf install https://dev.mysql.com/get/mysql57-community-release-fc25-9.noarch.rpm
    

    Step 2 – Install MySQL 5.7 Server

    As you have successfully enabled MySQL yum repository on your system. Now, install MySQL 5.7 community server using following commands as per your operating system version.

    On CentOS and RHEL 7/6

    yum install mysql-community-server
    

    On Fedora 27/26/25

     dnf install mysql-community-server
    

    source: https://tecadmin.net/install-mysql-5-7-centos-rhel/

提交回复
热议问题