Change default connectstring to localhost/orclpdb to be consistent with the

default value used in the Oracle Database installer.
This commit is contained in:
Anthony Tuininga 2017-08-08 15:39:02 -06:00
parent f13a9def79
commit 3e2dd725ad
3 changed files with 5 additions and 5 deletions

View File

@ -1144,7 +1144,7 @@ This allows you to use the exceptions for example in the following way:
import cx_Oracle
connection = cx_Oracle.Connection("cx_Oracle/dev@localhost/orcl")
connection = cx_Oracle.Connection("cx_Oracle/dev@localhost/orclpdb")
cursor = connection.cursor()
try:

View File

@ -28,7 +28,7 @@
# [//]host_name[:port][/service_name][:server_type][/instance_name]
#
# Commonly just the host_name and service_name are needed
# e.g. "localhost/orcl" or "localhost/XE"
# e.g. "localhost/orclpdb" or "localhost/XE"
#
# If using a tnsnames.ora file, the file can be in a default
# location such as $ORACLE_HOME/network/admin/tnsnames.ora or
@ -44,7 +44,7 @@ DEFAULT_MAIN_PASSWORD = "welcome"
DEFAULT_EDITION_USER = "pythoneditions"
DEFAULT_EDITION_PASSWORD = "welcome"
DEFAULT_EDITION_NAME = "python_e1"
DEFAULT_CONNECT_STRING = "localhost/orcl"
DEFAULT_CONNECT_STRING = "localhost/orclpdb"
# values that will be used are the default values unless environment variables
# have been set as noted above

View File

@ -35,7 +35,7 @@
# [//]host_name[:port][/service_name][:server_type][/instance_name]
#
# Commonly just the host_name and service_name are needed
# e.g. "localhost/orcl" or "localhost/XE"
# e.g. "localhost/orclpdb" or "localhost/XE"
#
# If using a tnsnames.ora file, the file can be in a default
# location such as $ORACLE_HOME/network/admin/tnsnames.ora or
@ -50,7 +50,7 @@ DEFAULT_MAIN_USER = "cx_Oracle"
DEFAULT_MAIN_PASSWORD = "welcome"
DEFAULT_PROXY_USER = "cx_Oracle_proxy"
DEFAULT_PROXY_PASSWORD = "welcome"
DEFAULT_CONNECT_STRING = "localhost/orcl"
DEFAULT_CONNECT_STRING = "localhost/orclpdb"
DEFAULT_ENCODING = "UTF-8"
DEFAULT_NENCODING = "UTF-8"
DEFAULT_ARRAY_SIZE = 5