org.pentaho.di.core.exception.KettleException:
Error connecting to the repository!
Error occurred while trying to connect to the database
Error connecting to database: (using class org.gjt.mm .mysql.Driver)
Communications link failure
Error connecting to the repository!
Error occurred 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.
从0 milliseconds 可以看出,是连接的基本信息填错了。
然后发现host=""里面多写了一个空格,在idea里可以运行,在eclipse里不行。