Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by h1d

8 years ago

Not sure why this isn't default in many tools. That's 99% for hazards.

2 comments

h1d

Reply

duskwuff  8 years ago

Put the following into your ~/.my.cnf to enable it for the command-line client:

    [client]
    safe-updates=1

  • h1d  8 years ago

    Thanks for the tip, however put that in [mysql] section or otherwise you'll ruin mysqldump command not recognizing that option.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities