Pentaho (5.0.5) 配置 Mysql

标签 pentaho

我在linux平台上安装了Pentaho BA suite 5.0.5。 postgreSQL 存储库中的一切都运行良好。 我引用了此链接To Configure Mysql as reposity 但如果尝试为 pentaho 配置 mysql,我将面临错误。

这是我所做的更改:

1.编辑/home/pentaho/server/biserver-ee/pentaho-solutions/system/quartz/quartz.properties 线路:300 org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate

2.编辑/home/pentaho/server/biserver-ee/pentaho-solutions/system/hibernate/hibernate-setting.xml行:15

system/hibernate/mysql5.hibernate.cfg.xml

3.编辑/home/pentaho/server/biserver-ee/pentaho-solutions/system/applicationContext-spring-security-hibernate.properties

jdbc.driver=com.mysql.jdbc.Driver

jdbc.url=jdbc:mysql://localhost:3306/hibernate

jdbc.username=hibuser

jdbc.password=密码

hibernate.dialect=org.hibernate.dialect.MySQLDialect

4.我将 audit_sql.xml 文件从/home/pentaho/server/biserver-ee/pentaho-solutions/system/dialects/mysql5 复制到/home/pentaho/server/biserver-ee/pentaho-解决方案/系统

  • 编辑了/home/pentaho/server/biserver-ee/pentaho-solutions/system/jackrabbit/repository.xml 文件并取消注释 SQL 配置

  • 我将 mysql-connector-java-5.1.25-bin.jar 文件复制到 tomcat/lib 文件夹

  • 我在/home/pentaho/server/biserver-ee/tomcat/webapps/pentaho/META-INF/conetxt.xml 文件中进行了更改

  • driverClassName="com.mysql.jdbc.Driver"url="jdbc:mysql://localhost:3306/hibernate" validQuery="select 1"/> 在 jdbc/hibernate 部分

    driverClassName="com.mysql.jdbc.Driver"url="jdbc:mysql://localhost:3306/quartz" validationQuery="选择 1"/> 在 jdbc/Quartz 部分

    我遇到这些错误:

    1.pentaho.log 文件:EmbeddedQuartzSystemListener.ERROR_0001 - 启动时调度程序未正确初始化

    2.在pentaho用户控制台中,加载符号永远保持不显示文件。

    3.我无法保存报告。

    最佳答案

    这可能非常简单 - 但由于某种许可问题,pentaho 平台默认情况下不附带 mysql jdbc 驱动程序。

    因此需要手动获取mysql jdbc驱动并将其放入Web服务器lib文件夹中。 对于 tomcat(默认安装),该文件夹为/servers/.../tomcat/lib 文件夹。

    对于这种特殊情况,可能是

    /home/pentaho/server/biserver-ee/tomcat/lib
    

    还有一个建议是检查

    下的完整日志
    /home/pentaho/server/biserver-ee/logs
    

    这是pentaho平台保存日志信息的主要地方。 希望它会有所帮助。

    顺便说一下,有一个关于配置 pentaho 平台的非常好的 pentaho 信息门户: http://infocenter.pentaho.com/help/nav/2_3

    关于Pentaho (5.0.5) 配置 Mysql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25738122/

    相关文章:

    java - pentaho修改java脚本值

    Pentaho水壶: how to pass variable from transformation to another transformation inside job

    ubuntu - Pentaho 9.1 CE 服务器 - MySQL 错误时间戳

    javascript - 将日期时间区域字符串转换为日期时间 javascript

    pentaho - 从 Pentaho 中的两个输入文件生成 1 个带有两个选项卡的 Excel 文件

    java - MDX 查询返回不同的结果

    mysql - 我们可以直接在 MySql 数据库上执行 Mdx 查询吗?如果可以,怎么办?

    pentaho - 启动 Pentaho BIserver 时出错

    pentaho 检查表输入是否不返回任何行

    rest - Pentaho Web 服务是否完整?