📜  mariadb 显示最后的查询 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:29.534000             🧑  作者: Mango

代码示例1
//First you need to turn on the MariaDB query log, which you can do it by executing the following queries

set global log_output = 'table';
set global general_log = 'on';

//Next you can see all the executed queries

select * from mysql.general_log;