My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

I did a stupid mistake

Andreas Beder's photo
Andreas Beder
·Oct 6, 2018

Oh dear... its 13 minutes before midnight and i just did a stupid stupid thing. my plan was to make a critical db query and to be 100% on the save site i made a backup in advanced.

bash> mysqldump -p dmdn > dmdn.sql

and after that i checked twice, yes i am a professional and know what i'm doing

bash> du -h dmdn.sql 
8MB dmdn.sql

looks good now let`s drop the database

bash> mysqldump -p dmdn > dmdn.sql 
Enter password:

ah not the backup again, ctrl+c now let`s drop the database!!!

MariaDB> drop database dmdn;

Guess what happened next... #stupid #mistake