sumnima sumnima sumnima sumnima sumnima sumnima sumnima
Categories
blog mongo

mongo

#mongo #bookmark

To reset database. Go to server terminal, then type these commands by order:

sudo docker exec -it mongodb bash mongo show dbs use your-db-name db.dropDatabase()

After typing those, go back to your deployment folder then enter “mupx restart”

Categories
blog mysql

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

sudo dpkg-reconfigure mysql-server-5.5

change the root password.