DEV Community

Discussion on: The Day Everyone Turned Into Michael Johnson. A Lesson In F5.

Collapse
 
moopet profile image
Ben Sinclair

I did exactly the same one time, where I used to be "careful" by writing everything as SELECTs first before changing them to UPDATEs, making extensive use of the command-line history. I ended up writing UPDATE users SET first_name='Martin'; WHERE user_id=12345. Clever me and my semicolons. It replicated 10,000+ changes to 300+ other sites and took down the whole system in short order. I tell that story in interviews when they ask for nightmare stories.

Collapse
 
helenanders26 profile image
Helen Anderson

Wow, that's one heck of a story!