Open tarsean opened 10 years ago
Are you getting any errors or warnings? Could you post any more details so I could try helping?
(btw, if you're new to databases, and looking for something even easier than MongoDB, I'm building a database specifically designed for NodeJS! Let me know if you're interested.)
@tarsean did you ever figure this out? I am trying to connect to a remote db as well
@amark this is almost perfect for my uses. I looked into GUNdb which looks pretty cool. I am not able to use it for my current project because the DB is already created. I need to query a remote mongodb.
@tvl83 I know it used to work years ago, IDK now - more than happy to accept any PR.
You could also migrate/import all the MongoDB data into GUN, so that way you don't have to rely/depend upon mongo any more.
@amark it's not really feasible because it's a 3rd party mongodb where I am just reading the data. It's data for an altcoin which is saved to a mongo db.
I have realized I have to have a local copy of the blockchain so the queries are much faster. I might consider writing all the data to a GUN db at that point.
if I have a local copy of the blockchain to query I don't have a real reason to put it into GUN unless it's easier to query than using RPC to the wallet/blockchain
I can't connect to the mongo server with the username and password code like this: $().open(host,port); $('myDb.$cmd').auth(username,password); which dosn't work while i can connect to it successfully with mongodb://username:password@host:port/myDb with the mongo-native lib.