Unable to load authentication plugin 'caching_sha2_password' in Netbean

前端 未结 3 1202
你的背包
你的背包 2021-01-20 12:04

I am connecting MySQL - 8.0 with Netbean and get error: Unable to load authentication plugin \'caching_sha2_password\'. Any solution for this ?

3条回答
  •  無奈伤痛
    2021-01-20 12:37

    You should use MySQL Connector/J 8.0.9 or higher.

    For Windows 7:

    1. Create a new driver new driver creation
    2. Select a new MySQL Connector/J 8.0.9 or higher choosing new driver If you didn't install it during MySQL setup, you should do it first
    3. Create a new connection using new driver new connection creation
    4. Check an information, enter the password, change a value of the "zeroDateTimeBehavior" param to "CONVERT_TO_NULL", test the connection check connection If you have a "time zone" error, you should configure your MySQL time zone first

提交回复
热议问题