Skip to content

Commit 1286c17

Browse files
Update lab9_mongodb_api.txt
1 parent ed18ed8 commit 1286c17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data-platform/autonomous-database/autonomous-json/python-duality-views/files/lab9_mongodb_api.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ wget https://downloads.mongodb.com/compass/mongodb-mongosh-2.0.2.x86_64.rpm
77
yum localinstall mongodb-mongosh-2.0.2.x86_64.rpm
88

99
--we can find the url at the ords log we defined before, and we will have something like this:
10-
-- PLEASE CHANGE YOUR_PASSWORD TO A REAL PASSWORD !
10+
-- PLEASE CHANGE YOUR_PASSWORD TO A REAL PASSWORD!
1111

1212
--mongodb://[{user}:{password}@]localhost:27017/{user}?authMechanism=PLAIN&authSource=$external&ssl=true&retryWrites=false&loadBalanced=true
1313

1414
--It is a default string. Let's connect with our user.
1515
--For the password is required to change # with %23: https://docs.oracle.com/en-us/iaas/autonomous-database-serverless/doc/mongo-using-oracle-database-api-mongodb.html
16-
-- PLEASE CHANGE YOUR_PASSWORD TO A REAL PASSWORD !
16+
-- PLEASE CHANGE YOUR_PASSWORD TO A REAL PASSWORD!
1717

1818

1919
mongosh --tlsAllowInvalidCertificates 'mongodb://myapp:YOUR_PASSWORD@localhost:27017/myapp?authMechanism=PLAIN&authSource=$external&ssl=true&retryWrites=false&loadBalanced=true'

0 commit comments

Comments
 (0)