PHP Manual

  • English French German Portuguese Spanish
PHP-Handbuch Funktionsreferenz Datenbankerweiterungen Anbieterspezifische Datenbankerweiterungen Mongo Manual Connecting
Manual Tutorial Read Preferences Write Concerns SQL to Mongo Mapping Chart Connecting Stream Context Options Writes Querying Updates Security Troubleshooting Running the Driver's Tests
  • SQL to Mongo Mapping Chart
  • Connecting over SSL

Connecting

Inhaltsverzeichnis

  • Connecting over SSL
  • Authentication
  • Replica Sets
  • Sharding
  • Domain Socket Support
  • Connection Pooling (version 1.2.0-1.2.12 *only*)
  • Persistent Connections (version up to 1.1.4 *only*)

Connecting to MongoDB can be as easy as new MongoClient, but there are many additional options and configurations. The documentation for MongoClient::__construct() covers all of the API options, but this page gives some more details and advice for practical use cases.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.