Replies: 2 comments 7 replies
-
If you are using Docker, you can use the following tags to get a version that includes the necessary changes: FROM redash/redash:preview
or
FROM redash/redash:25.1.0 For more details, check the available tags here: With these versions, Oracle Client and Wallet are not required when setting up a new Redash server. This is because the following pull requests have already been merged:
|
Beta Was this translation helpful? Give feedback.
-
Using redash:preview or redash:25.1.0 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need to configure redash to connect to oracle DB via wallet in the Oracle Cloud. When executing sqlplus in the container running reddish server I am able to connect but not when configuring the data source in redash.
Did anyone have success to configure oracle connections via Wallets?
I created container like this:
`
FROM redash/redash:latest
USER root
Oracle instantclient
ADD oracle/instantclient-basic-linux.x64-19.26.0.0.0dbru.zip /tmp/instantclient-basic-linux.x64-19.26.0.0.0dbru.zip
ADD oracle/instantclient-sdk-linux.x64-19.26.0.0.0dbru.zip /tmp/instantclient-sdk-linux.x64-19.26.0.0.0dbru.zip
ADD oracle/instantclient-sqlplus-linux.x64-19.26.0.0.0dbru.zip /tmp/instantclient-sqlplus-linux.x64-19.26.0.0.0dbru.zip
ADD oracle/Wallet.zip /tmp/Wallet.zip
RUN apt-get update -y
RUN apt-get install -y unzip
RUN unzip /tmp/instantclient-basic-linux.x64-19.26.0.0.0dbru.zip -d /usr/local/
RUN unzip -o /tmp/instantclient-sdk-linux.x64-19.26.0.0.0dbru.zip -d /usr/local/
RUN unzip -o /tmp/instantclient-sqlplus-linux.x64-19.26.0.0.0dbru.zip -d /usr/local/
RUN ln -s /usr/local/instantclient_19_26 /usr/local/instantclient
RUN mkdir -p /usr/local/instantclient/network/admin
RUN unzip -o /tmp/Wallet.zip -d /usr/local/instantclient/network/admin
ADD oracle/sqlnet.ora /usr/local/instantclient/network/admin/sqlnet.ora
#RUN ln -s /usr/local/instantclient/libclntsh.so.19.1 /usr/local/instantclient/libclntsh.so
RUN ln -s /usr/local/instantclient/sqlplus /usr/bin/sqlplus
RUN apt-get install libaio-dev -y
RUN apt-get clean -y
ENV ORACLE_HOME=/usr/local/instantclient
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/instantclient
ENV TNS_ADMIN=/usr/local/instantclient/network/admin
RUN pip install cx_Oracle==7.0.0
USER redash
#Add REDASH ENV to add Oracle Query Runner
ENV REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.oracle
`
Thanks
Michael
Beta Was this translation helpful? Give feedback.
All reactions