October 2017
Intermediate to advanced
458 pages
11h 13m
English
So, you should have your web shop running now, but we are currently running on the database that we used to develop our software. We need a separate instance for our development environment and our current environment. So, first let's create a new database and give our current user rights to that database. We will need to create a new database and user that we can use for our new environment.
Since we have not yet created an admin user, this was not really necessary until now. We kind of locked ourselves out of the database. Not a smart thing to do, but easy to fix. First, we need to disable authentication in the config file and restart MongoDB:
sudo vi /etc/mongod.conf[...]#security:# authorization: 'enabled'[...]sudo service mongod ...
Read now
Unlock full access