Skip to main content
Question

How do I connect FME to MongoDB?

  • Oct 11, 2021 10:12 PM UTC
  • 2 replies
  • 179 views

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
Celebrity
Forum|alt.badge.img+58
  • Celebrity
  • Oct 11, 2021 11:05 PM UTC

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
  • Oct 12, 2021 12:11 PM UTC

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