How i know the history of command in MariaDB

image
i could not find this file in system yet

Hi,

You can get the list with following command:

sudo -i bash -c "cat \$HOME/.mysql_history"

Thanks,

Divyesh Mangroliya

1 Like