【问题标题】:Pentaho Report Designer 5.0.1 and MySQL 8.0 is not workingPentaho Report Designer 5.0.1 和 MySQL 8.0 不工作
【发布时间】:2019-05-14 11:18:54
【问题描述】:

我正在尝试在 Pentaho 报表设计器 5.0 中连接 mysql 8.0,并且还在报表设计器\lib\jdbc 路径中添加了 mysql-connector-java-8.0.16.jar。

没有连接,显示错误:

Error connecting to database: (using class org.gjt.mm.mysql.Driver)
Could not create connection to database server.
at org.pentaho.di.core.database.Database.normalConnect(Database.java:415)
at org.pentaho.di.core.database.Database.connect(Database.java:353)
at org.pentaho.di.core.database.Database.connect(Database.java:306)
at org.pentaho.di.core.database.Database.connect(Database.java:294)
at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:84)
at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2459)
at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:541)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

【问题讨论】:

    标签: pentaho pentaho-report-designer


    【解决方案1】:

    pentaho 的所有工具都有限制,你必须根据你使用的 pentaho 版本使用正确的驱动程序,正确的 jdk。

    Mysql 8 甚至无法与 pentaho 报表设计器 8.2 或其他最新版本的 pentaho 工具一起使用。

    请降级您的 mysql 连接器以连接到服务器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-30
      相关资源
      最近更新 更多