First-day-on-the-job dev: I accidentally nuked production database, was instantly fired

Um. Who put production credentials in onboarding doc?

"How screwed am I?" a new starter asked Reddit after claiming they'd been marched out of their job by their employer's CTO after "destroying" the production DB – and had been told "legal" would soon get stuck in.

The luckless junior software developer told the computer science career questions forum:

I was basically given a document detailing how to set up my local development environment.... which involves run[ning] a small script to create my own personal DB instance from some test data.

After running the command I was supposed to copy the database url/password/username outputted by the command and configure my dev environment to point to that database. Unfortunately instead of copying the values outputted by the tool, I instead, for whatever reason, used the values the document had.

Unfortunately, apparently those values were actually for the production database (why they are documented in the dev setup guide i have no idea). Then from my understanding that the tests add fake data, [I] clear[ed] existing data between test runs, which basically cleared all the data from the production database.

Honestly i had no idea what i did and it wasn't [until] about 30 or so minutes after did someone actually figured out/realised what i did.

Many of us at The Reg were cringing, wincing and sucking our teeth at the weekend when we read the tale, especially when the junior dev claimed they'd moved across a country (it was not specified which) to take the job. The post has since attracted over 4,000 comments, most of which are supportive, and many of which tell the poster they're likely not legally liable for the screw-up.

The post concluded:

While what i had done was sinking in, the CTO told me to leave and never come back. He also informed me that apparently legal would need to get involved due to severity of the data loss. I basically offered and pleaded to let me help in some way to redeem myself and i was told that i "completely fucked everything up".

JavaScript Disabled

Please Enable JavaScript to use this feature.

If you can identify the company in question, which apparently has at least 100 staffers, a dev team of "around 40+ people" and "mostly positive Glassdoor reviews", please get in touch here. If you have a similar tale of woe for our On Call column, let us know here. ®

Similar topics

Other stories you might like

  • RAD Basic – the Visual Basic 7 that never was – releases third alpha
    Spend your weekend wallowing in the good old days

    RAD Basic has edged a little closer to bringing Visual Basic 6 back to your PC with the release of 0.5.0 Alpha 3.

    We last looked at RAD Basic a year ago and soaked in a warm bath of nostalgia for a time when Windows applications could be knocked out with the same skills needed to persuade Sinclair or Commodore hardware to display naughty words in a 1980s computer shop.

    While Microsoft ditched Visual Basic 6 in favor of .NET and C# many years ago, there remain plenty of IT professionals who owe their career to the language and an abundance of lashed-up solutions still underpinning substantial chunks of the corporate world.

    Continue reading
  • Google shows off immersive maps, AR-flavored search, Pixel 7, and more
    Your essential de-hyped guide to what the Chocolate Factory teased at developer shindig

    Google IO Google I/O, the ad biz's annual developer conference, returned to the Shoreline Amphitheater in California's Mountain View on Wednesday, for the first time in three years. The gathering remained largely a remote event due to the persistence of COVID-19 though there were enough Googlers, partners, and assorted software developers in attendance to fill venue seats and punctuate important points with applause.

    Sundar Pichai, CEO of Google parent Alphabet, opened the keynote by sounding familiar themes. He leaned into the implied sentiment, "We're here to help," an increasingly iffy proposition in light of the many controversies facing the company.

    He said he wanted to explain how Google is advancing its mission in two ways, "by deepening our understanding of information so that we can turn it into knowledge and advancing the state of computing so that knowledge is easier to access no matter who or where you are."

    Continue reading
  • Half of developers still at screens even during breaks
    Going for a walk: Good. Doomscrolling: Bad

    What are your peers doing to stave off burnout? Research from Stack Overflow suggests about half of developers are still spending their breaks in front of a screen.

    The Q&A programming resource surveyed 800 devs, and found most of the top five things they do when they need a break involve screens: listening to music (46 percent), visiting Stack Overflow (41 percent), browsing social media (37 percent), and watching videos (36 percent).

    Actually talking with fellow humans did not make the top five, and 4 percent of respondents had some other outlet for stress (possibly angrily banging some really terse comments into the source).

    Continue reading

Biting the hand that feeds IT © 1998–2022