Mongo::pairConnect
Mongo::persistConnect
Mongo
PHP Manual

# Mongo::pairPersistConnect

(PECL mongo >=0.9.0)

Mongo::pairPersistConnect — Creates a persistent connection with paired database servers

### 설명

public boolean Mongo::pairPersistConnect ([ 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.

Mongo::pairConnect
Mongo::persistConnect
Mongo
PHP Manual