![](/img/trans.png)
[英]Match up the version of MySQL that AWS Aurora uses to a MySQL Docker image
[英]pentaho set up to AWS Aurora ( mysql ) bastion
我正在尝试设置 pentaho 勺子以连接到 AWS auora,它位于 AWS 的 vpn 上。 我可以通过堡垒服务器访问 AWS auora ( mysql )。 它使用 mysql 工作台和一个简单的 java 程序。
Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/estimates", "root", "xxxxxxx");
Statement stmt = conn.createStatement();
String strSelect = "select first from test_name";
ResultSet rset = stmt.executeQuery(strSelect);
int rowCount = 0;
while (rset.next()) {
String first = rset.getString("first");
System.out.println(first);
++rowCount;
}
使用 pentaho 这个错误:
Error connecting to database [t1] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Exception while loading class
org.gjt.mm.mysql.Driver
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Exception while loading class
org.gjt.mm.mysql.Driver
at org.pentaho.di.core.database.Database.normalConnect(Database.java:366)
at org.pentaho.di.core.database.Database.connect(Database.java:315)
at org.pentaho.di.core.database.Database.connect(Database.java:277)
at org.pentaho.di.core.database.Database.connect(Database.java:267)
at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:86)
我已经在 ..\\data-integration\\lib 中加载了 jdbc 驱动程序。
我可能会错过什么? 还是这个版本的pentaho 4.4.0-stable有问题?
我使用了较旧的 jdbc 驱动程序 a 并且它与此版本的 pentaho 一起使用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.