Reputation: 51
I want to create a new database by using robomongo. Click "create database" then I write database name. when I click to create nothing happens.
What am I doing wrong?
Upvotes: 5
Views: 22447
Reputation: 2713
If using Robo 3T (new name for Robomongo) and you create a DB in Robo 3T but don't see it listed in the shell via show dbs
.
You need to also create a collection in the new DB in Robo 3T and after that, it will show with show dbs
.
Upvotes: 0
Reputation: 4093
First is reason: robomongo 0.8.5 can't read store engine 'wiredTiger': cmd show: "Detected data files in C:\data\db\ created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. And mogodb storage engine wirte in 'wiredTiger'
Second: Solution:
1) delete every thing in database:
goto "C:\data\db" then delete all !!!!
2) open cmd, point the path to some where you can write command and type this:
mongod --storageEngine mmapv1
Upvotes: 1
Reputation: 431
i've encountered this problem today with the same version of RoboMongo. The problem was that RoboMongo currently doesn't support MongoDB storages version 3.x. More about this topic is available on the Robomongo blog
New version of robomongo will be available on 17. January and mongo versions 3.x will be supported.
Upvotes: 5
Reputation: 871
I just encountered the same issue in Robomongo 0.8.5 on Windows. Tried to create the collection from the shell instead and it revealed that my account was not authorized to do that. Robomongo failed silently in such a case.
Upvotes: 1
Reputation: 158
i suppose you have mongo installed and checked.
open up terminal/command prompt and run mongod. if there is a problem you may need to repair it
$mongod --repair
Upvotes: 1