Enable General Log on Mariadb 10.1
The general log comes in handy when you want to see each and every single…
I have a bad habit of making notes on notepad++ and not saving those notes, so any new command or old command that I modify goes there. I recently found myself in dire need of a couple of commands I had run on one of my servers to repeat them on another, the savior was the following command:
Issue the above and unless you used a different user, you should see all the commands that you have issued in Mysql.