mikethm
13-05-2007, 00:04
Hi I have a small problem. I am running mysql on windows xp apache. as the documentation on the mysql website is extremely unhelpful, I figure you guys should know the timezone setting for singapore. Seem that mysql doesn't work in GMT +/- format but some stupid PST EST nonsense instead... thus I am very confused as to what is the setting for our timezone.
Right now, my mysql installation system variable indicated it is set to SYSTEM TIME which mean it is taking the correct time BUT treating it as GMT time... so when a php script which allow users to set their own timezone... they set to "GMT +8" and the time would add like 8 hrs? to the existing global time and thus giving the wrong time to website visitors.
I would appreciate if anyone can tell me what to enter in the phpmyadmin query box to recify the situation... or what to add to my.ini file? terminal command is not possible in windows right?
Right now, my mysql installation system variable indicated it is set to SYSTEM TIME which mean it is taking the correct time BUT treating it as GMT time... so when a php script which allow users to set their own timezone... they set to "GMT +8" and the time would add like 8 hrs? to the existing global time and thus giving the wrong time to website visitors.
I would appreciate if anyone can tell me what to enter in the phpmyadmin query box to recify the situation... or what to add to my.ini file? terminal command is not possible in windows right?