PHP Doku:: Connects to a database server - mongo.connect.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenMongoDB Native DriverCore ClassesThe Mongo classMongo::connect

Ein Service von Reinhard Neidl - Webprogrammierung.

The Mongo class

<<Mongo::close

Mongo::connectUtil>>

Mongo::connect

(PECL mongo >=0.9.0)

Mongo::connectConnects to a database server

Beschreibung

public boolean Mongo::connect ( void )

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

If the connection was successful.

Fehler/Exceptions

Throws MongoConnectionException if it fails to connect to the database.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)