You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/11/16 21:02:21 UTC

[GitHub] [incubator-superset] prb219 opened a new issue #11716: Unable to use Oracle DB as the datasource

prb219 opened a new issue #11716:
URL: https://github.com/apache/incubator-superset/issues/11716


   Hi, 
   
   I am trying to use Oracle DB as the data source for superset but the connection to the Data base fails with a very generic error message. I have the tried connecting to the Oracle DB using a 'SqlPlus' client from the same host using the same credentials and that connects without any issues. 
   This is the connection string that I am using to connect to Oracle DB: 
   `oracle://<username>:<password>@<host-name>:<port>`
   
   ### Expected results
   
   Successfully connect to Oracle DB 
   
   ### Actual results
   
   I see the below error message in the logs
   
   `Unexpected error DatabaseError
   ERROR:superset.views.core:Unexpected error DatabaseError`
   
   #### How to reproduce the bug
   
   1. Go to Add data sources in superset UI
   2. Try connecting to ORacle DB 
   
   ### Environment
   - superset version: `0.37.2`
   - python version: `3.6`
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ Y] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ Y] I have reproduced the issue with at least the latest released version of superset.
   - [ ]Y I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] prb219 commented on issue #11716: Unable to use Oracle DB as the datasource

Posted by GitBox <gi...@apache.org>.
prb219 commented on issue #11716:
URL: https://github.com/apache/incubator-superset/issues/11716#issuecomment-730717687


   Issue was resolved after using ldconfig instead of env variables to set path to oracle instant client. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] prb219 closed issue #11716: Unable to use Oracle DB as the datasource

Posted by GitBox <gi...@apache.org>.
prb219 closed issue #11716:
URL: https://github.com/apache/incubator-superset/issues/11716


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org