JG-mirror/Unifi-Controller/init-mongo.js

2 lines
241 B
JavaScript
Raw Normal View History

2024-01-05 23:36:35 +00:00
db.getSiblingDB("unifi").createUser({user: "unifi", pwd: "5nHgg3G0cH9d", roles: [{role: "dbOwner", db: "unifi"}]});
db.getSiblingDB("unifi_stat").createUser({user: "unifi", pwd: "5nHgg3G0cH9d", roles: [{role: "dbOwner", db: "unifi_stat"}]});