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

c++ - OpenMP unpredictable overhead -

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

javascript - Wordpress slider, not displayed 100% width -