Question

How do I connect FME to MongoDB?

  • 12 October 2021
  • 2 replies
  • 15 views

Badge

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

Userlevel 4
Badge +30

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

Badge

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

 

 

Reply