java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
程序员文章站
2024-03-13 12:18:51
...
SpringBoot启动控制台出现
java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
页面是这个错误
由于springboot是自动加入的组件,所以默认应该是高版本,由于此电脑数据库是mysql 5,所以增加一个版本号。
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
增加版本号
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.37</version>
<scope>runtime</scope>
</dependency>
然后我的问题就解决了…
上一篇: 报错解决Error while creating database accessor com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
推荐阅读
-
springboot启动后进页面出现错误(java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required)
-
java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
-
测试连接数据库时出现:java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
-
SpringBoot启动出现java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
-
Could not get JDBC Connection; nested exception is java.sql.SQLNonTransientConnectionException异常处理
-
解决samtools: /lib64/libz.so.1: version `ZLIB_1.2.3.3' not found (required by samtools)的问题
-
Unable to load the mojo 'resources' (or one of its required components) from the plugin......
-
解决安装mysqlclient的时候出现Microsoft Visual C++ 14.0 is required报错
-
解决安装mysqlclient的时候出现Microsoft Visual C++ 14.0 is required报错
-
解决Scrapy安装错误:Microsoft Visual C++ 14.0 is required...