(PECL mongo >=1.3.0)
Connects to a database server
public bool MongoClient::connect ( void )
Returns:
If the connection was successful.
Exception:
Throws MongoConnectionException if it fails to connect to the database.
Please login to continue.