首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >TDV的MySQL连接错误

TDV的MySQL连接错误
EN

Database Administration用户
提问于 2019-11-11 16:15:28
回答 1查看 220关注 0票数 0

我正在尝试使用(TDV)连接到MySQL数据库。

我能够使用MySQLWorkbench连接到数据库。我检查了my.cnf和跳过-网络不存在。

TDV引发了以下错误:

代码语言:javascript
复制
    "xx.xx.xx.xx:3306@" with the supplied connection information.  [datasrc-3961050]
Unable to connect to data source "/shared/Admin Database/Data Sources/CACHE DATABASE/MySQL Cache" at
    "jdbc:mysql://xx.xx.xx.xx:3306/DBNAME".  Make sure the URL information, user name and password
    are correct.  [datasrc-3961025]
Cause: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. [Log ID: 85a492e6-04c4-491a-be42-d9b29eb93472

我有什么办法纠正这个错误吗?

EN

回答 1

Database Administration用户

回答已采纳

发布于 2019-11-19 16:03:56

我们与Tibco的支持建立了联系,以解决这个问题。

步骤:

  1. 将jar从mysql-连接器-java-8.0.11.jar更改为mysql-连接器-java-5.1.48.jar。将jar文件“mysql-连接器-java-5.1.48.jar”放在"\conf\adapters\system\mysql_5_5“位置。然后重新启动TDV服务器。
  2. 使用相同的凭据创建一个新的MySql 5.5数据源。打开新数据源的高级设置面板。然后将连接格式更改为"mysql://xx.xx.xx.xx:3306/DBName?useSSL=false&allowPublicKeyRetrieval=true“

连接是成功的。

票数 0
EN
页面原文内容由Database Administration提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://dba.stackexchange.com/questions/252989

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档