Reputation: 11543
~$ mongo
MongoDB shell version: 2.2.3
connecting to: test
>
why is my server name test
? and where can I change it?
Upvotes: 1
Views: 1231
Reputation: 516
'test' is the default database. You can change current db with the help of use command.
use NewDatabaseName
If "NewDatabaseName" is not exist it will be created in Mongo.
Upvotes: 1