Recording session on MySQL

Send to Kindle

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!
Enjoy!!!

Send to Kindle
This entry was posted in Uncategorized. Bookmark the permalink.