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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.