Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Na.
More like "fasten your seatbelts, we're gonna do some racing and drifting, getting some adrenalin pumped" -
You literally write code that runs sql queries, so why would it feel any different running it directly?
Use something like MySQL Workbench, idk. -
iiii92191y@IntrusionCM you know... i could have really experienced some racing and drifting as a part of my job if not for the closed borders. lol
-
Nope. Nope nope.
I am very careful when I do.
Once dropped a prod db and we lost 2 hours of data.
Just one little slip up and you fucked. And I don't trust me because I'm human. -
No, there are ways to protect yourself when running queries on a prod database, but it is bound to happen and you should always have backups or clones.
-
Nah but that's cause my clients are all to fuckin stupid to even notice if everything is gone
runbook: go manually dig and check some information, then run some sql on the prod database
Does manually running sql on prod database make anybody else feel nervous and gross?
rant