jbsegal: (Default)
jbsegal ([personal profile] jbsegal) wrote2006-02-15 11:13 pm
Entry tags:

Professional Life-Lesson OTD

Always know what machine you're typing at before you type 'drop database {foo}' at a mysql prompt.

(no major harm done, in the long run...)
{sigh}

[identity profile] louiseroho.livejournal.com 2006-02-16 06:44 am (UTC)(link)
could be 'rm -rf /bin'

Always a bad plan.


gsh: (Default)

[personal profile] gsh 2006-02-16 12:41 pm (UTC)(link)
I once did that by accident. Although it was actually 'rm / tmp".

[identity profile] denonymous.livejournal.com 2006-02-16 02:26 pm (UTC)(link)
I'm disappointed to see that I still have all my RT tickets.

[identity profile] shayde.livejournal.com 2006-02-16 02:40 pm (UTC)(link)
I alwaus do that from teh command line just to make sure I'm a) sure it's what I want to do, b) mysql -prompts - to make sure it's what you want to do, and c) the promtp has the machine name :)

mysqladmin -u blah -p blah drop dbname

:)