Skip to Main Content

AI Services

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to setup database connection from Jupiter notebooks to oracle23ai

how to setup database connection from web based Jupiter notebooks to oracle23ai - on OCI Oracle DB 23ai on Oracle Cloud using : Jupiter notebooks cell code

# Connect to the Oracle Database 23ai
un = "vector"
pw = "vector"
cs = "localhost/FREEPDB1"
import oracledb
connection = oracledb.connect(user=un, password=pw, dsn=cs)

Comments
Post Details
Added on Sep 16 2025
0 comments
13 views