Configure MySQL to keep log of all queries on Ubuntu Linux
To turn MySQL general log we must edit MySQL configuration file located in /etc/mysql/my.cnf on Ubuntu Linux system and we must do that with administrative privileges. So here’s how to do that using CLI editor nano: sudo nano /etc/mysql/my.cnf Now we must locate following lines: #general_log_file = /var/log/mysql/mysql.log #general_log = 1 To turn MySQL general […]