English
luckfu's notes.

Never forget your dreams!


  • Home

  • Archive

  • About

  • Page404

  • Search

Metabase Connect to Oracle Autonomous Database using wallet

Published at: 2022/09/25   |   Categories: Metabase   oracle cloud   oracle   | Words: 174 words | Reading: 1 minutes | Visited:

Metabase deployed on Oracle Cloud Free Tier. using wallet Connect to free Oracle Autonomous Database

databases

Steps

1 download metabase

wget https://downloads.metabase.com/v0.44.3/metabase.jar

2、run

java -jar metabase.jar

After running and exiting, you can see plugins in directory,We need to save the downloaded ojdbc driver in this directory.

3、download oracle jdbc driver

from https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html download ojdbc11-full.tar.gz

Remember, be sure to download the ojdbcxx-full driver file, because we need not only ojdbc11.jar, also need oraclepki.jar, osdt_cert.jar and osdt_core.jar using wallet

4、run metabase with jvm parameters

java -classpath ./plugins/oraclepki.jar:./plugins/osdt_cert.jar:./plugins/osdt_core.jar:. \
-Doracle.net.tns_admin=/data/instantclient_19_10/network/admin \
-Doracle.net.wallet_location="(SOURCE=(METHOD=file)(METHOD_DATA=(DIRECTORY=/data/instantclient_19_10/network/admin)))" \
-Doracle.net.ssl_server_dn_match=true -jar metabase.jar

参数:

  • Doracle.net.tns_admin : instantclient directory
  • Doracle.net.wallet_location : wallet file directory

5、Add Database Connect

Open the tnsnames.ora file in the wallet package, and check the configuration of any one of high, low, and medium, and take the values:

  • host
  • service_name

Metabase Config panel Add Oracle Database ,as the picture shows: OracleConfig

Save config !

#Metabase# #oracle cloud# #oracle#

Declaration:Metabase Connect to Oracle Autonomous Database using wallet

Link:https://luckfu.github.io/en/post/metabase_oracle_wallet/

Author:luckfu

Declaration: This blog post article is under the CC BY-NC-SA 3.0 license,Please indicate the source!

If it can help you, you can give tips for blogger that how much you want. ^_^
WeChat Pay

Wechat Pay

Alipay

Ali Pay

paypal Pay

PayPal

I Fixed a Bug in OpenClaw Dreaming — The Regex That Broke the Memory System
Python uses the yahoo_financials_stmt package to get stock financial data from Yahoo Finance
  • Table of Content
  • Site Information
luckfu

luckfu

In a flash, all of the past away from you, the rest of the only memories.

7 Blogs
15 Categories
24 Tags
GitHub
TagCloud
  • Oracle cloud
  • Free vps
  • Vm.standard.a1.flex
  • A shares
  • Automation script
  • Bluetooth pan
  • Bug fix
  • China market
  • Docker
  • Dreaming
© 2010 - 2026 luckfu's notes.
Powered by - Hugo v0.127.0 / Theme by - NexT
0%