Reputation: 331
I have to connect MongoDB in azure data factory, the password of the mongoDB has '@' sign in it, which seems to be causing some issue. is there any way to escape that character?
the connection string is some thing look alike given below,
mongodb://username:p@[email protected]:1800/db_name
Upvotes: 0
Views: 877
Reputation: 331
Actually,
I got the answer,
I have to use '%40' instead of '@'
so the connectionstring will go like this
mongodb://username:p%[email protected]:1800/db_name
Upvotes: 1
Reputation: 16401
Please reference this tutorial: Copy data from MongoDB using Azure Data Factory.
The MongoDB connection string format is look like this:
mongodb://[username:password@]host[:port][/[database][?options]]
Hope this helps.
Upvotes: 0