Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

IBM SQL for data science course Peer-Graded Assignment

$
0
0

hi I'm on SQL for data science course, I have a problem to connect to IBM database. If you are a person who took this course, could you explain me how did you connect with this example :

%sql ibm_db_sa://my-username:my-password@my-hostname:my-port/my-db-name?security=SSL

I can find the following information in credentials:

port : is the database portdb : is the database namehost : is the hostname of the database instanceusername : is the username you'll use to connectpassword : is the password you'll use to connect

enter image description here

when I try to make a connection with this code I took this warnings:

Connection info needed in SQLAlchemy format, example:               postgresql://username:password@hostname/dbname               or an existing connection: dict_keys([])dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/ibm_db.cpython-310-darwin.so,

0x0002): symbol not found in flat namespace '_SQLAllocHandle'Connection info needed in SQLAlchemy format, example:postgresql://username:password@hostname/dbnameor an existing connection: dict_keys([])

I cannot finish my course because of this problem. If you know the answer please share with me. Thanks.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>