I\'m trying to track down a bug that\'s deleting rows in a mysql
table.
For the life of me I can\'t track it down in my PHP
code, so I\'d
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';
you can run your past mysql with run /PATH_PAST_MYSQL/bin/mysqld.exe
it run your last mysql and you can see it in phpmyadmin and other section of your system.
notice: stop your current mysql version.
S F My English.
Yes, you can log queries to a special phpMyAdmin DB table.
See SQL_history.
You just need to click on console at the bottom of the screen in phpMyAdmin and you will get the Executed history:
I am using phpMyAdmin Server version: 5.1.41.
It offers possibility for view sql history through phpmyadmin.pma_history
table.
You can search your query in this table.
pma_history
table has below structure:
Ok, so I actually stumbled across the answer.
phpMyAdmin does offer a brief history. If you click on the 'sql' icon just underneath the 'phpMyAdmin' logo, it'll open a new window. In the new window, just click on the 'history' tab.
That will give you the last twenty or so SQL operations.