Mongo
PHP Manual

Mongo::connect

(PECL mongo >=0.9.0)

Mongo::connectConnects to a database server

설명

public boolean Mongo::connect ( void )

인수

이 함수는 인수가 없습니다.

반환값

If the connection was successful.

오류/예외

Throws MongoConnectionException if it fails to connect to the database.


Mongo
PHP Manual