How to search in the mysql command history -


the mysql command-line client supports history (you can use cursor-keys access , navigate it), there way search string can in (for example) bash?

in bash can do:

history | grep "command" 

is there similar in mysql?

usually lists mysql commands have been used:

less ~/.mysql_history 

Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Disable\Enable Bootbox button with KO -