Skip to content

alisonrafael/metabase-db2-driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metabase Driver: DB2

DB2 for LUW (Linux, UNIX, Windows) Driver for Metabase.

Versions

Metabase Version DB2 Driver Bugs
0.51 1.1.51.0 (jar)
0.46 1.1.46.2 (jar)
Older versions See here See release details

Running Metabase application with DB2 driver plugin

First download Metabase .jar file here and run

java -jar metabase.jar

The /path/to/metabase/plugins/ directory will be created. Drop the driver in your plugins/ directory and run metabase again. You can grab it here or build it yourself:

Building the DB2 Driver Yourself

Prerequisites

  • Java JDK 11
  • Node.js
  • Clojure
  • Yarn

Clone the Metabase project

Clone the Metabase repo

Inside /path/to/metabase-master run

clojure -X:deps prep

Clone the DB2 Metabase Driver

Clone this DB2 driver repo

Edit the driver as you want.

Compile the DB2 driver

Inside /path/to/metabase-db2-driver run

sh ./build.sh

Copy it to your plugins dir

cp /path/to/metabase-db2-driver/target/db2.metabase-driver.jar /path/to/metabase/plugins/

Run Metabase

jar -jar /path/to/metabase/metabase.jar

Configurations

Run as follows to avoid the CharConversionException exceptions. In this way, JCC converts invalid characters to NULL instead of throwing exceptions:

java -Ddb2.jcc.charsetDecoderEncoder=3 -jar metabase.jar

Thanks

Thanks to everybody here metabase/metabase#1509

About

DB2 for LUW Driver plugin for Metabase

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 98.0%
  • Shell 2.0%