Arie
03-10-2012, 12:56 PM
OK, I think I can solve most problems, but this one has be baffled :erm:
All was working fine. I *did* restart MySQL last night, after tweaking 1(!) setting:
I increased sort_buffer_size=512KB to sort_buffer_size=1M
This morning I noticed that these times are off by 6 hours:
You last visited xxx
Post time (shown on new posts & replies)
The forum time shown at the bottom are correct (in my case All times are GMT +1. The time now is xxx).
Checked server time
date
Sat Mar 10 07:54:42 CST 2012
That's correct.
Check MySQL time
mysql> select now();
+---------------------+
| now() |
+---------------------+
| 2012-03-10 07:55:31 |
+---------------------+
1 row in set (0.00 sec)
Both Apache & php.ini are set to the correct time zone
php.ini
date.timezone = 'America/Chicago'
httpd.conf
SetEnv TZ US/Central
What am I missing? I've been running my forum for about 2 weeks on this new server (and years on the old one). I had been tweaking MySQL for the last while and restarted previously, no problems until this morning...
All was working fine. I *did* restart MySQL last night, after tweaking 1(!) setting:
I increased sort_buffer_size=512KB to sort_buffer_size=1M
This morning I noticed that these times are off by 6 hours:
You last visited xxx
Post time (shown on new posts & replies)
The forum time shown at the bottom are correct (in my case All times are GMT +1. The time now is xxx).
Checked server time
date
Sat Mar 10 07:54:42 CST 2012
That's correct.
Check MySQL time
mysql> select now();
+---------------------+
| now() |
+---------------------+
| 2012-03-10 07:55:31 |
+---------------------+
1 row in set (0.00 sec)
Both Apache & php.ini are set to the correct time zone
php.ini
date.timezone = 'America/Chicago'
httpd.conf
SetEnv TZ US/Central
What am I missing? I've been running my forum for about 2 weeks on this new server (and years on the old one). I had been tweaking MySQL for the last while and restarted previously, no problems until this morning...