Mongo::connectUtil
(PECL mongo >=0.9.0)
Mongo::connectUtil — Connects 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.
Грешки/Изключения
Throws MongoConnectionException if it fails to connect to the databases.
There are no user contributed notes for this page.
