phpMyAdmin does reset the session timezone after each SQL query in the SQL
tab.
Set session timezone and check current time in timezone:
SET SESSION time_zone = '+10:00';
SELECT @@system_time_zone, @@global.time_zone, @@session.time_zone;
SELECT NOW();
| @@system_time_zone | @@global.time_zone | @@session.time_zone
| CEST | SYSTEM | +10:00
2022-04-14 21:06:46
Next run without setting the session timezone again:
SELECT @@system_time_zone, @@global.time_zone, @@session.time_zone;
SELECT NOW();
| @@system_time_zone | @@global.time_zone | @@session.time_zone
| CEST | SYSTEM | SYSTEM
2022-04-14 13:07:23
Second run shows that the session timezone was reset to CEST +02:00
which has 8 hours difference with +10:00
which explains the current time difference between the 2 requests.
I could not find how to set the session timezone in phpMyAdmin so I had to set the session timezone at the start of each SQL
request.