Tuesday, February 19, 2013

How to get history of mysql commands

Actually i know how to get the shell command history on linux. We just need to type "history" and press enter. Like wise if we need to get the mysql command history, this is the way.

Go to shell.
> cat ~/.mysql_history

2 comments:

Anonymous said...

Companies should know how to get history of mysql commands other than they know how to get 1300 number for communication purpose.

Unknown said...

hi,
I am working in a website development company in Jaipur. and it will definitely help us, thank you for sharing mate this kind of informative post.