workspace: update reset.sh

pull/517/head
undefined 2 years ago
parent 00c01a2c29
commit f045154200

@ -11,7 +11,7 @@ echo "db.createUser({
{ role: 'readWrite', db: 'hydro' }
]
})" >/tmp/createUser.js
mongo 127.0.0.1:27017/hydro /tmp/createUser.js
mongosh 127.0.0.1:27017/hydro /tmp/createUser.js
echo "{\"host\":\"127.0.0.1\",\"port\":\"27017\",\"name\":\"hydro\",\"username\":\"hydro\",\"password\":\"$db_password\"}" >~/.hydro/config.json
pm2 stop mongod
pm2 del mongod

Loading…
Cancel
Save