Mongo
PHP Manual

Mongo::connectUtil

(PECL mongo >=0.9.0)

Mongo::connectUtilConnects with a database server

Описание

protected boolean Mongo::connectUtil ( string $username , string $password )

Список параметров

username

A username used to identify the connection.

password

A password used to identify the connection.

Возвращаемые значения

If the connection was successful.

Errors/Exceptions

Throws MongoConnectionException if it fails to connect to the databases.


Mongo
PHP Manual