mongodb\Connection $dsn

$dsn public property

Host:port

Correct syntax is: mongodb://[username:password@]host1[:port1][,host2[:port2:],...][/dbname] For example: mongodb://localhost:27017 mongodb://developer:password@localhost:27017 mongodb://developer:password@localhost:27017/mydatabase

public string $dsn = null
doc_Yii
2016-10-30 17:07:54
Comments
Leave a Comment

Please login to continue.