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.

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny