Open anijhawan opened 10 years ago
Those log lines are just informative, and not problems -- every mongod
will have a local
and admin
database, and you probably don't want to import them, since they contain internal data.
If you run mosql
with -vvv
it will emit more debug information. Most likely, your collections.yaml
file doesn't specify the correct mongo
database, or has some other mistake.
Hi all! I am new to Mongodb and am struggling porting over my database to Postgresql. I run the "mosql --collections collections.yaml --skip-tail" command, a table gets created, and then no data seems to get posted. The error is:
INFO MoSQL: Mongd DB 'local' not found in config file. Skipping. INFO MoSQL: Mongd DB 'admin' not found in config file. Skipping.
I have found the config file, what am I supposed to add in?
Thanks!