SQLite Data Connection

  • Last update:  2024-03-15
  • Overview

    Version

    FineBI Version
    Functional Change

    6.0

    /

    Application Scenario

    This document describes how to connect to an SQLite database.

    Preparation

    Version and Driver

    Driver Download
    Driver Name

    FineBI comes with the built-in sqlite-jdbc.jar driver package.

    org.sqlite.JDBC

    URL format: jdbc:sqlite:[PATH_TO_DB_FILES]

    If the built-in driver is accidentally deleted, you can re-download it: SQLite Driver. For details about uploading the driver, see Driver Management.

    Downloading the Driver File

    Before connecting the database, you need to collect the following information.

    T1. The database storage path

    2. The username and password of the database

    Procedure

    1. Log in to FineBI as the admin, choose System Management > Data Connection > Data Connection Management, and click New Data Connection, as shown in the following figure.

    2. Find the icon of the SQLite database.

    3. Enter the username, password, and the data connection URL.

    If the path of the database is C:\Users\86150\Downloads\FRDemo.db, modify the URL to jdbc:sqlite:C:\Users\86150\Downloads\FRDemo.db.

    If the database is in the project, for example, the built-in database in the FineReport project is located on %FineReport_10.0%\webapps\webroot\help, the URL can also be written as a relative path: jdbc:sqlite://${ENV_HOME}/../help/FRDemo.db.

    If the database and the project are located on different servers, you need to share the network path and replace the above path.

    4. Click Test Connection. If the connection is successful, click Save.

    iconNote:
    When a SQLite database is obtaining a connection, if there is no database under the PATH path in the URL, a database will be created automatically under this path. Therefore, the connection may be successful even if there is no SQLite database under the actual PATH path.

    Adding Database Tables to FineBI

    You can add database tables to FineBI by adding database tables or adding SQL datasets.


    附件列表


    主题: Data Preparation
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy