You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Connection info needed in SQLalchemy format for ibm_db_sa #235
To Connect Db2 to IBM Watson Studio, in the project you should add "new asset" select Db2 Cloud and complete credentials. Make sure that location is set same as Db2 (London, Dalas...). Once successfully connected, you can add your credentials and query to the notebook by clicking up right (icon looks like 0010).
I think that other kind of connections wouldn't work.
Activity
idomic commentedon Mar 20, 2023
@swaroop-k are you sure the pip packages installed correctly?
Try importing these, is it passing?
FYI @edublancas
edublancas commentedon Mar 20, 2023
in those cases, it's usually easier to ensure you can establish a connection using create_engine and then pass the engine object:
https://jupysql.ploomber.io/en/latest/howto.html#connect-to-existing-engine
vvujica1 commentedon Apr 25, 2023
Hi,
To Connect Db2 to IBM Watson Studio, in the project you should add "new asset" select Db2 Cloud and complete credentials. Make sure that location is set same as Db2 (London, Dalas...). Once successfully connected, you can add your credentials and query to the notebook by clicking up right (icon looks like 0010).
I think that other kind of connections wouldn't work.
edublancas commentedon Apr 25, 2023
can you try connecting via
create_engine? see the example here:if that works, you can pass the engine object. e.g, if you do:
then:
Note that this feature is only available on JupySQL, it won't work on ipython-sql: