Skip to main content
Question

How do I connect FME to MongoDB?


Forum|alt.badge.img

Hi, I'm new to MongoDB, and I'd like to use FME to import data into it. Can someone please provide me with an example that shows how to set up the connection, specifically the connection Name, Connection Type, Protocol, Host, Port, Database Name, Name and Value parameters?

 

Harry

2 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • October 11, 2021

Hi @petrus451​ 

There are interesting links about this format here:

https://community.safe.com/s/global-search/%40uri#q=MongoDB&sort=relevancy&f:@commonsource=[Documentation,FME%20Community]

 

 

Thanks in Advance,

Danilo


Forum|alt.badge.img
  • Author
  • October 12, 2021
danilo_fme wrote:

Hi @petrus451​ 

There are interesting links about this format here:

https://community.safe.com/s/global-search/%40uri#q=MongoDB&sort=relevancy&f:@commonsource=[Documentation,FME%20Community]

 

 

Thanks in Advance,

Danilo

Thanks, Danilo. In case anyone has this question again, here's the configuration for the MongoDB writer:

 

Name: chose a unique name, e.g., myMondoDBWriterTest

Connection Type: Parameters

Protocol: Use the default, which is mongodb://

Host: localhost (assuming you're running it on your own machine)

Port: 27017

Database Name: the name of your database (not a collection), e.g, myJSONdatabase

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings