📜  如何在 phpmyadmin 中检查数据库的历史记录 - PHP 代码示例

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

代码示例1
To view the past queries simply run this query in phpMyAdmin.

SELECT * FROM `general_log`
if it is not enabled, run the following two queries before running it.

SET GLOBAL log_output = 'TABLE';
SET GLOBAL general_log = 'ON';