Authentication plugin 'caching_sha2_password' cannot be loaded

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

    like this?

    docker run -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql --default-authentication-plugin=mysql_native_password
    mysql -uroot --protocol tcp
    

    Try in PWD

    https://github.com/GitHub30/docs/blob/change-default_authentication_plugin/mysql/stack.yml

    or You shoud use MySQL Workbench 8.0.11.

提交回复
热议问题