Mongo::connect
Mongo::__construct
Mongo
PHP Manual

# Mongo::connectUtil

(PECL mongo >=0.9.0)

Mongo::connectUtil — Connects with a database server

### Opis

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

### Parametry

`username`

  A username used to identify the connection.

`password`

  A password used to identify the connection.

### Zwracane wartości

If the connection was successful.

### Błędy/Wyjątki

Throws MongoConnectionException if it fails to connect to the databases.

Mongo::connect
Mongo::__construct
Mongo
PHP Manual