错误连接数据库 [kettletest1] : Error connecting to database: (using class org.gjt.mm.mysql.Driver)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误连接数据库 [kettletest1] : Error connecting to database: (using class org.gjt.mm.mysql.Driver)相关的知识,希望对你有一定的参考价值。
错误连接数据库 [kettletest1] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class org.gjt.mm.mysql.Driver)
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.
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class org.gjt.mm.mysql.Driver)
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.
.......
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:540)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:399)
... 54 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
主机名 : MySQL
端口 : 3306
数据库名:kettletest1
之前是报JAR出错,现在JAR包有了,为mysql-connector-java-5.1.17-bin.jar,Kettle版本为4.5.1,求大神解决。
mysql 服务启动了没有追问
jar包加入了,服务肯定是启动了的。叨咕一阵之后,最后问题解决了。
追答能否把你这个问题最终的解决 办法 贴上来,很多朋友 都想知道?
另外,不管在哪里提问题,如果最终问题解决了,最好都能把解决的 办法 贴出来。
人人为我,我为人人!
错误脚本(查找数据库连接中的所有错误)
SELECT e.name, e.type, e.sequence, e.line, e.position, e.text, s.text FROM user_errors e JOIN user_source s ON e.name = s.name AND e.type = s.type AND e.line = s.line ORDER BY e.name, e.type, e.sequence;
以上是关于错误连接数据库 [kettletest1] : Error connecting to database: (using class org.gjt.mm.mysql.Driver)的主要内容,如果未能解决你的问题,请参考以下文章
错误:E/RecyclerView:未连接适配器;跳过片段上的布局
错误消息:E/RecyclerView:未连接适配器;跳过布局
错误 ANDROID STUDIO E/RecyclerView:未连接适配器;跳过布局
连接节点错误 kAudioUnitErr_PropertyNotWriteable 时 AudioToolbox AUGraph 失败