DB2 for LUW (Linux, UNIX, Windows) Driver for Metabase.
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 |
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:
- Java JDK 11
- Node.js
- Clojure
- Yarn
Clone the Metabase repo
Inside /path/to/metabase-master
run
clojure -X:deps prep
Clone this DB2 driver repo
Edit the driver as you want.
Inside /path/to/metabase-db2-driver
run
sh ./build.sh
cp /path/to/metabase-db2-driver/target/db2.metabase-driver.jar /path/to/metabase/plugins/
jar -jar /path/to/metabase/metabase.jar
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 to everybody here metabase/metabase#1509