The time when a bugfree email is sent is inconsistent with the system time. 1. First, find the my. ini and PHP. ini files in MYSQL and php respectively. 2. Modify php/php. ini, find [Date]; Defines the default timezone used by the date functions; date. timezone = yes; date. timezone = change to date. timezone = Asia/shanghai Note: remove the semicolon before. 3. modify my in MYSQL. add default-time-zone = timezone under [mysqld] to change the time zone. For example, change to + 8 zone: default-time-zone = '+' and restart MySQL. Note: The configuration item must be added under [mysqld]. Otherwise, the unknown variable 'default-time-zone = + 8:00 '4 will appear. Connect to MySQL before changing the time zone and execute the following SQL statement; mysql> show variables like '% time_zone % '; + ------------------ + rows + | Variable_name | Value | + ------------------ + hour + | system_time_zone | China Standard Time | time_zone | SYSTEM | + ------------------ + rows + 2 rows in set (0.05 sec) mysql> select now (); + ---- ----------------- + | Now () | + --------------------- + | 14:05:03 | + --------------------- + 1 row in set (0.00 sec) view the time zone used by mysql.