diff --git a/install/reset.sh b/install/reset.sh index dd89402c..e0edc244 100644 --- a/install/reset.sh +++ b/install/reset.sh @@ -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