Renato,
Thursday, July 25, 2002, 2:35:56 PM, you wrote:
RL> in the redhat instalation procedure. And I did that for all servers, but
RL> only this one has this behaviour.
Run
safe_mysqld --timezone=America/Manaus &
and show me the output of
SHOW VARIABLES LIKE 'timezone'
RL> Egor Egorov wrote:
>>Renato,
>>Tuesday, July 23, 2002, 9:40:35 PM, you wrote:
>>
>>RL> I have several mysql servers installed, all without TZ variable, one of
>>RL> them, insists in set the "select now()" to 4 hours ahead of my internal
>>RL> clock, first I touch that I should set TZ to my time time zone in
>>RL> /etc/init.d/mysql, but when I do that, the "select now()" advances 4
>>RL> more hours.
>>
>>RL> Below is the information about my system. now the --timezone option in
>>RL> /etc/init.d/mysql nor in /usr/bin/safe_mysql is not set.
>>
>>[skip]
>>
>>RL> # date ; echo -e "select now();\nshow variables;\n"|mysql -u root
>>RL> -pfdrops500
>>RL> Tue Jul 23 14:25:39 AMT 2002
>>
>>RL> now()
>>RL> 2002-07-23 18:25:39
>>
>>Seems, NOW() returns values in GMT.
>>
>>RL> timezone America/Manaus
>>
>>How did you set up timezone?
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php