目录
- Install Database Driver
- Install Oracle Instant Client
- 重新启动 Superset
- 连接 Oracle 数据库
- 报错及其相关处理
1. Install Database Driver
(venv) [root@bogon Python-3.6.0]# pip install cx_Oracle
2. Install Oracle Instant Client
下载链接为 https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html#ic_x64_inst
NAME Download
Basic Package(ZIP) instantclient-basic-linux.x64-21.1.0.0.0.zip
(venv) [root@bogon Python-3.6.0]# mkdir -p /opt/oracle
将instantclient-basic-linux.x64-21.1.0.0.0.zip上传到/opt/oracle
(venv) [root@bogon Python-3.6.0]# cd /opt/oracle
(venv) [root@bogon oracle]# unzip instantclient-basic-linux.x64-19.3.0.0.0dbru.zip
# If Instant Client is the only Oracle Software installed on this sy