Shared Hosting for Everyone, imagined by developers, for developers.
Discovering the Public CloudServer | mongodb-[account].alwaysdata.net |
Port | 27017 (MongoDB port by default) |
Connection | mongodb://user:password@mongodb-[account].alwaysdata.net/bdd |
The connection data depends on the relevant account. You can find the precise values in the administration interface section under Databases > MongoDB.
mongo
In our example, we use the SSH access and consider the following information:
foo
foo_base
foo
for the foo account).foo@ssh:~$ mongo "mongodb://foo:password@mongodb-foo.alwaysdata.net/foo_base"
Creating a MongoDB user corresponds to an entry in the system.users
collection.
Find our guides: