页面树结构
转至元数据结尾
转至元数据起始

一、安装Hsql

1、下载SmartbiHSQL.zip,并上传到服务器解压

2、修改文件中的java虚拟机路径,包含Windows环境、Linux环境两种。

      Windows环境:在starthsql.bat、client_gui_tool.bat、installservice.bat、stophsql.bat文件中修改set JAVA_HOME中的java路径。

Linux环境:在starthsql.sh、stophsql.sh文件中修改JAVA_HOME中的java路径。

 

  3、该hsql默认使用的是9001端口

                Windows环境:在client_gui_tool.bat、stophsql.bat、server.properties中都需修改端口号
                server.properties
                

                client_gui_tool.bat

               

               stophsql.bat
              

              Linux环境:在stophsql.sh、server.properties中都需修改端口号

              server.properties
             
              stophsql.sh
              

4、启动Hsql服务

             Windows环境有两个方法

             方法一、执行starthsql.bat启动hsql
                           
             方法二、执行installservice.bat将hsql注册为windows后台服务,并启动。
                           

          Linux环境:执行starthsql.sh启动hsql服务
                          

二、 在smartbi中创建联合数据源

        1、登录系统,在系统中选择创建联合数据源

             

        2、数据数据源连接设置,并保存

    • 数据源名称
    • 驱动类型:Other
    • 驱动程序类:org.hsqldb.jdbc.JDBCDriver
    • 连接字符串:jdbc:hsqldb:hsql://localhost:9001/unionbase
    • 用户和密码:ADMIN/ADMIN

  

 

  • 无标签