LoginSignup
6
4

More than 5 years have passed since last update.

MySQLコマンドの履歴を消す

Posted at

背景

更新SQLとか、削除SQLとか実行したあとに、再び同じSQL実行しないようにしたい

実行

.mysql_historyファイルを削除する。selectはあると便利なときもあるため、常に削除する方法は掲載しない。

$ rm ~/.mysql_history 
6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4