MongoShell download install
https://github.com/mongodb-js/mongosh/releases
wget https://github.com/mongodb-js/mongosh/releases/download/v2.2.5/mongodb-mongosh-2.2.5.x86_64.rpm
sudo rpm -ivh mongodb-mongosh-2.2.5.x86_64.rpm
- Open the Oracle Cloud Infrastructure Console for your Autonomous Database.
- Select Database Actions.
- From the Database Actions Launchpad, select Administration > Database Users.
- Select + Create User on the Database Users page.
- Enter a User Name and Password for your test user. Select Web Access, and set the Quota on tablespace DATA.
mongosh –tls –tlsAllowInvalidCertificates ‘mongodb://TESTUSER:Felix_test_123456@xpcyy1qu.adb.ap-tokyo-1.oraclecloudapps.com:27017/[user]?authMechanism=PLAIN&authSource=$external&ssl=true&retryWrites=false&loadBalanced=true’