jbsegal (
jbsegal
) wrote
2006
-
02
-
15
11:13 pm
Entry tags:
eit
,
work
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}
Flat
|
Top-Level Comments Only
no subject
louiseroho.livejournal.com
2006-02-16 06:44 am (UTC)
(
link
)
could be 'rm -rf /bin'
Always a bad plan.
no subject
gsh
2006-02-16 12:41 pm (UTC)
(
link
)
I once did that by accident. Although it was actually 'rm / tmp".
no subject
denonymous.livejournal.com
2006-02-16 02:26 pm (UTC)
(
link
)
I'm disappointed to see that I still have all my RT tickets.
no subject
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
:)
4 comments
Post a new comment
Flat
|
Top-Level Comments Only
[
Home
|
Post Entry
|
Log in
|
Search
|
Browse Options
|
Site Map
]
no subject
Always a bad plan.
no subject
no subject
no subject
mysqladmin -u blah -p blah drop dbname
:)