{"width":"100%","height":"190","categories":["MongoDB"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftxclr.hatenablog.com%2Fentry%2F2015%2F04%2F24%2F133949\" title=\"MongoDB\u306e\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4 - txclr\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"published":"2015-04-24 13:39:49","title":"MongoDB\u306e\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4","version":"1.0","provider_name":"Hatena Blog","url":"https://txclr.hatenablog.com/entry/2015/04/24/133949","author_name":"txclr","type":"rich","author_url":"https://blog.hatena.ne.jp/txclr/","provider_url":"https://hatena.blog","description":"MongoDB\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089Mongo\u30b7\u30a7\u30eb\u3092\u8d77\u52d5 $ mongo --host 192.168.0.*** --port 27017 --authenticationDatabase admin -u <\u30e6\u30fc\u30b6\u540d> -p <\u30d1\u30b9\u30ef\u30fc\u30c9> <DB\u540d> Andmin\u306b\u5207\u308a\u66ff\u3048 > use admin switched to db admin \u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4 > db.changeUserPassword(<\u30e6\u30fc\u30b6\u540d>, <\u5909\u66f4\u5f8c\u306e\u30d1\u30b9\u30ef\u30fc\u30c9>) \u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u5b8c\u4e86\u3002 \u8a73\u7d30\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u306e\u3053\u3068\u3002 Change a User\u2019s Password \u2014 MongoDB M\u2026","blog_url":"https://txclr.hatenablog.com/","blog_title":"txclr\u306e\u30d6\u30ed\u30b0"}