File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1324,7 +1324,7 @@ This allows you to use the exceptions for example in the following way:
13241324
13251325 import cx_Oracle
13261326
1327- connection = cx_Oracle.connect("cx_Oracle/dev@localhost/orclpdb ")
1327+ connection = cx_Oracle.connect("cx_Oracle/dev@localhost/orclpdb1 ")
13281328 cursor = connection.cursor()
13291329
13301330 try:
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ Quick Start cx_Oracle Installation
8686
8787 import cx_Oracle
8888
89- # Connect as user "hr" with password "welcome" to the "orclpdb " service running on this computer.
90- connection = cx_Oracle.connect("hr", "welcome", "localhost/orclpdb ")
89+ # Connect as user "hr" with password "welcome" to the "orclpdb1 " service running on this computer.
90+ connection = cx_Oracle.connect("hr", "welcome", "localhost/orclpdb1 ")
9191
9292 cursor = connection.cursor()
9393 cursor.execute("""
Original file line number Diff line number Diff line change 2929# [//]host_name[:port][/service_name][:server_type][/instance_name]
3030#
3131# Commonly just the host_name and service_name are needed
32- # e.g. "localhost/orclpdb1" or "localhost/XE "
32+ # e.g. "localhost/orclpdb1" or "localhost/XEPDB1 "
3333#
3434# If using a tnsnames.ora file, the file can be in a default
3535# location such as $ORACLE_HOME/network/admin/tnsnames.ora or
Original file line number Diff line number Diff line change 3333# [//]host_name[:port][/service_name][:server_type][/instance_name]
3434#
3535# Commonly just the host_name and service_name are needed
36- # e.g. "localhost/orclpdb " or "localhost/XE "
36+ # e.g. "localhost/orclpdb1 " or "localhost/XEPDB1 "
3737#
3838# If using a tnsnames.ora file, the file can be in a default
3939# location such as $ORACLE_HOME/network/admin/tnsnames.ora or
5858# default values
5959DEFAULT_MAIN_USER = "pythontest"
6060DEFAULT_PROXY_USER = "pythontestproxy"
61- DEFAULT_CONNECT_STRING = "localhost/orclpdb "
61+ DEFAULT_CONNECT_STRING = "localhost/orclpdb1 "
6262
6363# dictionary containing all parameters; these are acquired as needed by the
6464# methods below (which should be used instead of consulting this dictionary
You can’t perform that action at this time.
0 commit comments