Re: MySQL 4.1 timezone

2005-10-27 Thread Raphaël 'SurcouF' Bordet
Le jeudi 27 octobre 2005 à 01:12 +0300, Gleb Paharenko a écrit :
> Hello.
> 
> 
> 
> In mysql-5.0.15 it works. Put, say, default_time_zone='+10:00' in
> 
> [mysqld] section of your file.

This option works too under MySQL 4.1.11:

[mysqld]
default_time_zone=UTC

mysql> SELECT @@global.time_zone, @@session.time_zone;
++-+
| @@global.time_zone | @@session.time_zone |
++-+
| UTC| UTC |
++-+
1 row in set (0.00 sec)


Thanks.

-- 
Raphaël 'SurcouF' Bordet
http://debianfr.net/ | surcouf at debianfr dot net




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: MySQL 4.1 timezone

2005-10-27 Thread Gleb Paharenko
Hello.



In mysql-5.0.15 it works. Put, say, default_time_zone='+10:00' in

[mysqld] section of your file.





Raphaël 'SurcouF' Bordet wrote:

> Hi,

> 

> I want to set up a different timezone that my operating system for MySQL

> upper to 4.1. According to this article[1], timezone system variable was

> changed since 4.1.3. I'm using mysql 4.1.11a from Debian sarge.

> I was tried to set system_time_zone into /etc/mysql/my.cnf

> unsuccessfully. The only way I found to set up this timezone is by add

> --default-time-zone option to boot-up script of mysql.

> 

> Why system variable doesn't work into my.cnf ?

> 

> Best regards,

> 

> --=20

> Rapha=C3=ABl 'SurcouF' Bordet

> http://debianfr.net/ | surcouf at debianfr dot net

> =20

> 

> 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



MySQL 4.1 timezone

2005-10-26 Thread Raphaël 'SurcouF' Bordet
Hi,

I want to set up a different timezone that my operating system for MySQL
upper to 4.1. According to this article[1], timezone system variable was
changed since 4.1.3. I'm using mysql 4.1.11a from Debian sarge.
I was tried to set system_time_zone into /etc/mysql/my.cnf
unsuccessfully. The only way I found to set up this timezone is by add
--default-time-zone option to boot-up script of mysql.

Why system variable doesn't work into my.cnf ?

Best regards,

-- 
Raphaël 'SurcouF' Bordet
http://debianfr.net/ | surcouf at debianfr dot net
 



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]