Question:Which of the following is a correct way to show the last queries executed on MySQL? 

A First execute SET GLOBAL log_output = 'TABLE'; Then execute SET GLOBAL general_log = 'ON'; The last queries executed are saved in the table mysql.general_log 

B Edit the MySQL config file (mysql.con) and add the following line log = /var/log/mysql/mysql.log 

C Execute VIEW .mysql_history 

D Restart MySQL using the following line tail -f /var/log/mysql/mysql.log 

+ Answer
+ Report
Total Preview: 624

Copyright © 2024. Powered by Intellect Software Ltd