mongodbで ERROR: The SCRAM_SHA_256 authentication mechanism requires libmongoc built with ENABLE_SSL {"exception":"[object] (MongoDB¥¥Driver¥¥Exception¥¥AuthenticationException(code: 11): The SCRAM_SHA_256 authentication mechan mongodb

docker上で、php+laravelコンテナと、mongodbコンテナをセットしてシステム構築した際に出たエラー

■エラー内容
[2020-06-14 12:23:00] local.ERROR: The SCRAM_SHA_256 authentication mechanism requires libmongoc built with ENABLE_SSL

  2020-06-15 10:24:34

mongodbで ERROR: command listCollections requires authentication {"exception":"[object] (MongoDB¥¥Driver¥¥Exception¥¥CommandException(code: 13): command listCollections requires authentication at ./vendor/mongodb/mongodb/src/O mongodb

docker上で、php+laravelコンテナと、mongodbコンテナをセットしてシステム構築した際に出たエラー


■エラー内容
[2020-06-14 11:53:47] local.ERROR: command listCollections requires authentication &#123; exception : [object] <

  2020-06-15 10:22:31

mongodbで ERROR: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on &apos;127.0.0.1:27017&apos;] &amp;#123;&quot;exception&quot;:&quot;[object] (MongoDB&amp;yen;&amp;yen;Driver&amp;yen;&amp;yen;Exception&amp;yen;&amp;yen;ConnectionTimeoutException(code: 13053): mongodb

docker上で、php+laravelコンテナと、mongodbコンテナをセットしてシステム構築した際に出たエラー

■エラー内容
[2020-06-14 11:43:40] local.ERROR: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calli

  2020-06-15 10:20:40

mongodb ERROR: Class &apos;MongoDB&amp;yen;Driver&amp;yen;Manager&apos; not found &amp;#123;&quot;exception&quot;:&quot;[object] (Symfony&amp;yen;&amp;yen;Component&amp;yen;&amp;yen;Debug&amp;yen;&amp;yen;Exception&amp;yen;&amp;yen;FatalThrowableError(code: 0): Class &apos;MongoDB&amp;yen;&amp;yen;Driver&amp;yen;&amp;yen;Manager&apos; not found at mongodb

■エラー内容
docker上で、php+laravelコンテナと、mongodbコンテナをセットしてシステム構築した際に出たエラー

local.ERROR: Class MongoDB&yen;Driver&yen;Manager not found &#123; exception : [object]
(Symfony&yen;&yen;Comp

  2020-06-15 10:18:40

mongodbにデータ一括インサートで error connecting to host: could not connect to server: connection() : auth error: sasl conversation error: unable to authenticate using mechanism &quot;SCRAM-SHA-1&quot;: (AuthenticationFailed) Authentication failed. のエラーでた mongodb

新しく環境構築しててmongodbにデータ一括インサートしようとすると
error connecting to host: could not connect to server: connection() : auth error: sasl conversation error: unable to authenticate using mechanism SCRAM-SHA-1

  2020-06-15 00:55:00

mongodb久しぶりに触るとコマンド忘れまくるので困る mongodb

<p># windowsサービスから mongodbを起動</p><p># ログインしてカウント</p><p>&#36; mongo db.hoge2.count() 既存db</p><p>&nbsp;</p><p>既存コレクションに、新規行をインサートのみ &quot;hdb.hoge2&quot;という名前のdatabase.collectionにインポート</p><p>&#36; mongo

  2020-05-13 22:22:00

mongodbが Failed to start SYSV: Mongo is a scalable document-oriented database..とか、exception in initAndListen: 15926 Insufficient free space for journals terminating のメッセージがでて落ちてしまって起動できなかったやつ mongodb

mongodbが Failed to start SYSV: Mongo is a scalable document-oriented database..とか、exception in initAndListen: 15926 Insufficient free space for journals terminating
のメッセージがでて落ちてしまって起動できなかったやつ<b

  2020-01-31 11:26:00

ローカルPCで動かしてるmongodbをつかったシステムが動かない!(けどなおった mongodb

ローカルPCで動かしてるmongodbをつかったシステムが動かない


■現象
・ブラウザからmongodbつかったシステムにアクセスすると動いていない

・コマンドラインからアクセスを試みるとエラーでてる
&#36; mongo
MongoDB shell version v4.0.5
connecting

  2019-06-24 03:35:40

Class &apos;MongoDB&amp;yen;Driver&amp;yen;Manager&apos; not found で mongodbがつながらなかったけど解決した mongodb

新しい環境でmongodbをつかっているサイトを立ち上げて

サイトにアクセスすると
Class MongoDB&yen;Driver&yen;Manager not found
というエラーが発生

phpinfo()をみると mongodbが認識されてなかった
peclいれて、
# pecl install m

  2019-04-19 09:31:28

mongoimport をつかって、mongodbへの一括insert jsonファイルを指定してインサート mongodb

mongoimport をつかって、mongodbへの一括insert jsonファイルを指定してインサート


■オプション
mongoimport
--db 対象DB名
--collection 対象コレクション名(RDBでいうTBL)
--file インサートするjsonが書かれているjsonファイル名
<br

  2018-12-29 14:21:00