Bonjour,
C'est pour le sharding.
La commande dessous marche bien.
"C:\Program Files\MongoDB\Server\4.2\bin\mongos.exe" --configdb confRs/localhost:27019,localhost:27020 --port 27017
Le problème est que je ne peux pas obtenir le prompt mongos, pour lancer sh.addShard( "shax1/localhost:27031"); et sh.addShard( "shax2/localhost:27032");.
La question est , avec la commande
"C:\Program Files\MongoDB\Server\4.2\bin\mongo.exe" --port 27017.
Comment faire pour obtenir le prompt mongos ?
Mercis beaucoup,
kriptnekol
Partager