New MySQL driver causes java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required

后端 未结 6 702
感动是毒
感动是毒 2021-02-06 04:51

If change MySQL JDBC driver from 5.1.38 to 6.0.2 I get the following exception

java.sql.SQLNonTransientConnectionException: CLIENT_PLUG         


        
6条回答
  •  一向
    一向 (楼主)
    2021-02-06 05:43

    I had the same issue and I resolved by changing the parent tag version from 2.1.1.RELEASE to 2.0.0.RELEASE

    from

    
            org.springframework.boot
            spring-boot-starter-parent
            2.1.1.RELEASE
             
        
    

    to

    
            org.springframework.boot
            spring-boot-starter-parent
            2.0.0.RELEASE
             
        
    

提交回复
热议问题