![]() sspiRealmOverride Specify the SSPI server realm (available on Windows) sspiHostnameCanonicalization Specify the SSPI hostname canonicalization (none or forward, available on Windows) gssapiServiceName Service name to use when authenticating using GSSAPI/Kerberos awsIamSessionToken AWS IAM Temporary Session Token ID authenticationMechanism Authentication mechanism authenticationDatabase User source (defaults to dbname) ![]() p, -password Password for authentication u, -username Username for authentication retryWrites Automatically retry write operations upon transient network errors norc Will not run the '.mongoshrc.js' file on start up nodb Don't connect to mongod on startup - no 'db address' expected shell Run the shell after executing files quiet Silence output from the shell during the connection process ![]() verbose Increase the verbosity of the output of the shell f, -file Load the specified mongosh script The -help command display all the commands which you can use with mongo or mongosh, as shown below. ![]() mongosh is the new MongoDB shell with some more features than the old mongo shell. You can start MongoDB Shell by executing mongo or mongosh command on the command prompt/terminal. It acts as a command-line client of the MongoDB server. MongoDB Shell is the quickest way to connect, configure, query, and work with your MongoDB database. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |