How to change mysql time zone
Edit /etc/my.cnf and change your time zone.
root@box1 [/var/lib/mysql]# cat /etc/my.cnf
[mysqld_safe]
timezone = Europe/London
~
[mysqld]
set-variable = max_connections=500
safe-show-database
Login to mysql and check the time now.
root@box1 [/var/lib/mysql]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 369
Server version: 5.0.81-community MySQL Community Edition (GPL)
~
Type ‘help;’ or ‘\h’ [...]
-
Blog Home
Blogroll
Quick Links
Navigation
Archives
-
Recent Posts
Calendar
March 2010 M T W T F S S « Feb 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Cloud
alert apache backup centos chrome configuration database deviccs DMA DNS example filesystem fsck google harddisk IDE java kernel LAMP linux mail Mode MTU mysql nagios network old OpenDNS openvz password PECL performace permission php repository root Rsync SATA server setup timezone tshark ubuntu user virtualization