Sign in
Log inSign up

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

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct