Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
h1d
on June 3, 2017
|
parent
|
context
|
favorite
| on:
Accidentally destroyed production database on firs...
Not sure why this isn't default in many tools. That's 99% for hazards.
duskwuff
on June 3, 2017
[–]
Put the following into your ~/.my.cnf to enable it for the command-line client:
[client] safe-updates=1
h1d
on June 4, 2017
|
parent
[–]
Thanks for the tip, however put that in [mysql] section or otherwise you'll ruin mysqldump command not recognizing that option.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: