using shell
> use admin
switched to db admin
> db.shutdownServer()
server should be down...
2016-01-19T23:16:53.343-0200 I NETWORK [thread1] trying reconnect to 127.0.0.1:
27017 (127.0.0.1) failed
2016-01-19T23:16:54.368-0200 W NETWORK [thread1] Failed to connect to 127.0.0.1
:27017, reason: errno:10061 No connection could be made because the target machi
ne actively refused it.
2016-01-19T23:16:54.369-0200 I NETWORK [thread1] reconnect 127.0.0.1:27017 (127
.0.0.1) failed failed
>
Mostrando postagens com marcador MongoDB. Mostrar todas as postagens
Mostrando postagens com marcador MongoDB. Mostrar todas as postagens
terça-feira, 19 de janeiro de 2016
MONGORESTORE - WINDOWS
The restore will restore the dump.
domingo, 17 de janeiro de 2016
28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod
Hi!
The answer is in the message. Do as it says.
en: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine exp
licitly, e.g. --storageEngine=mmapv1
Answer
c:> mongod --storageEngine=mmapv1 --dbpath [your path goes here]
Good Luck!
The answer is in the message. Do as it says.
en: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine exp
licitly, e.g. --storageEngine=mmapv1
Answer
c:> mongod --storageEngine=mmapv1 --dbpath [your path goes here]
Good Luck!
MongDB Shell not working on Windows
Hi!
You have just installed MongoDB and the shell is not working?
Solution
Computer > Properties > Advanced system settings > Environment variables > Path
Edit path
Add the path of MongoDB
My path is like that
;C:\Program Files\MongoDB\Server\3.2\bin
OK
Go to prompt windows
type
echo %PATH%
Check if the path you have just added is there.
If it is, you are done.
Restart your computer.
Try it again.
Good luck!
You have just installed MongoDB and the shell is not working?
Solution
Computer > Properties > Advanced system settings > Environment variables > Path
Edit path
Add the path of MongoDB
My path is like that
;C:\Program Files\MongoDB\Server\3.2\bin
OK
Go to prompt windows
type
echo %PATH%
Check if the path you have just added is there.
If it is, you are done.
Restart your computer.
Try it again.
Good luck!
Assinar:
Postagens (Atom)

