pentaho | : | biserver-ce-5.4.0.1-130 | |||||||||||
MYSQL | : | 5.7.11 | |||||||||||
JDK | : | 1.7 | |||||||||||
OS | : | win7 sp1 |
create_repository_mysql.sql | |||||||||||||||||||||||||||||||||
创建hibernate数据库,用于存储用户授权认证,solution repository以及数据源。 | |||||||||||||||||||||||||||||||||
create_quartz_mysql.sql | |||||||||||||||||||||||||||||||||
为Quartz计划任务器创建资源库。 |
sampledata_mysql.sql | ||||||||||||||||||||
为sample数据添加pentaho所有基本的实例数据源。 |
datasource.driver.classname=com.mysql.jdbc.Driver # Theconnection URL to be passed to our JDBC driver to establish aconnection datasource.url=jdbc:mysql://localhost:3306/hibernate # Theconnection username to be passed to our JDBC driver to establish aconnection datasource.username=root # Theconnection password to be passed to our JDBC driver to establish aconnection datasource.password=root # The SQLquery that will be used to validate connections from this poolbefore returning them to the caller. # This querymust be an SELECT statement that returns at least onerow. # HSQLDB:SELECT 1 FROM INFORMATION_SCHEMA.SYSTEM_USERS # MySQL, H2,MS-SQL, POSTGRESQL, SQLite: SELECT 1 # ORACLE:SELECT 1 FROM DUAL datasource.validation.query=SELECTUSER() |
jdbc.url=jdbc:mysql://localhost:3306/hibernate jdbc.username=hibuser jdbc.password=password hibernate.dialect=org.hibernate.dialect.MySQL5Dialect |
编辑
\biserver-ce\pentaho-solutions\system\hibernate\hibernate-settings.xml
|
编辑
\biserver-ce\pentaho-solutions\system\quartz\quartz.properties
放开注释
|
编辑
\biserver-ce\pentaho-solutions\system\simple-jndi\jdbc.properties
SampleData/driver=com.mysql.jdbc.Driver SampleData/url=jdbc:mysql://localhost:3306/sampledata SampleData/user=pentaho_user SampleData/password=password Hibernate/type=javax.sql.DataSource Hibernate/driver=com.mysql.jdbc.Driver Hibernate/url=jdbc:mysql://localhost:3306/hibernate Hibernate/user=hibuser Hibernate/password=password Quartz/type=javax.sql.DataSource Quartz/driver=com.mysql.jdbc.Driver Quartz/url=jdbc:mysql://localhost:3306/quartz Quartz/user=pentaho_user Quartz/password=password Shark/type=javax.sql.DataSource Shark/driver=com.mysql.jdbc.Driver Shark/url=jdbc:mysql://localhost:3306/shark Shark/user=sa Shark/password= SampleDataAdmin/type=javax.sql.DataSource SampleDataAdmin/driver=com.mysql.jdbc.Driver SampleDataAdmin/url=jdbc:mysql://localhost:3306/sampledata SampleDataAdmin/user=pentaho_admin SampleDataAdmin/password=password |
编辑
\biserver-ce\tomcat\webapps\pentaho\META-INF\context.xml
<?xmlversion="1.0" encoding="UTF-8"?> <Contextpath="/pentaho"docbase="webapps/pentaho/">
</Context> |
删除
\biserver-ce\tomcat\conf\Catalina\localhost\pentaho.xml
因为每次重启pentaho会根据context.xml重建这个文件
停用默认的HSqlDB
\biserver-ce\tomcat\webapps\pentaho\WEB-INF\web.xml
注释掉
|
编辑
|