Recording session on MySQL

Hi guys, today let’s learn about a very useful option on mysql command line to recording all what happen in your mysql session, It’s the option –tee. Is very easy to use, you just need to add the –tee=/path/to/file

mysql -u root -p --tee=/tmp/log.mysql

It is all for today!

Liked? Help and Share!
This entry was posted in Uncategorized. Bookmark the permalink.