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
the password "welcome". The connect string is "localhost/orclpdb".
142
+
the password "welcome". The connect string is "localhost/orclpdb1".
143
143
See <code>sql/SampleEnv.sql</code>.</p>
144
144
145
145
<p>It is easist to have a local pluggable database with the service
146
-
'orclpdb' configured. If your database is not local, or has a
146
+
'orclpdb1' configured. If your database is not local, or has a
147
147
different service, you will need to modify the connection information in db_config.py and db_config.sql.</p>
148
148
149
149
<p>The following sections may need adjusting, depending on how you
@@ -183,16 +183,16 @@ <h4>1.1 Review the connection credentials</h4>
183
183
<pre>
184
184
user = "pythonhol"
185
185
pw = "welcome"
186
-
dsn = "localhost/orclpdb"
186
+
dsn = "localhost/orclpdb1"
187
187
</pre>
188
188
<code>db_config.sql</code>
189
189
<pre>
190
190
def user = "pythonhol"
191
191
def pw = "welcome"
192
-
def connect_string = "localhost/orclpdb"
192
+
def connect_string = "localhost/orclpdb1"
193
193
</pre>
194
194
195
-
<p>By default they connect to the 'orclpdb' database service on the same machine as Python. You can modify the values in both files to match the connection information for your environment.</p>
195
+
<p>By default they connect to the 'orclpdb1' database service on the same machine as Python. You can modify the values in both files to match the connection information for your environment.</p>
196
196
197
197
</li>
198
198
@@ -216,7 +216,7 @@ <h4>1.2 Creating a basic connection</h4>
216
216
the db_config.py module. In this case, Oracle's Easy Connect connection
217
217
string syntax is used. It consists of the hostname of your
218
218
machine, <code>localhost</code>, and the database service name
219
-
<code>orclpdb</code>. </p>
219
+
<code>orclpdb1</code>. </p>
220
220
221
221
<p>Open a command terminal and change to the <code>tutorial</code> directory:</p>
222
222
@@ -1137,7 +1137,7 @@ <h4>2.5 More DRCP investigation</h4>
1137
1137
<p>In a terminal window, start SQL*Plus using the lab credentials and connection string, such as:</p>
1138
1138
1139
1139
<pre>
1140
-
sqlplus pythonhol/welcome@localhost/orclpdb
1140
+
sqlplus pythonhol/welcome@localhost/orclpdb1
1141
1141
</pre>
1142
1142
1143
1143
<p>Use the SQL*Plus DESCRIBE command to look at the SDO definition:</p>
0 commit comments