ERROR: Your MySQL TimeZone database is not populated

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
westsyde
Posts: 23
Joined: Tue Sep 23, 2008 12:44 pm

ERROR: Your MySQL TimeZone database is not populated

Post by westsyde »

Received this error on upgrade from 1.0.2 to 1.0.3

What do I need to change to get it to pass the pre-install check?



mysql> show variables like '%time_zone%';
+------------------+-----------------------+
| Variable_name | Value |
+------------------+-----------------------+
| system_time_zone | Pacific Standard Time |
| time_zone | SYSTEM |
+------------------+-----------------------+
2 rows in set (0.00 sec)

mysql>
zetoo
Cacti User
Posts: 68
Joined: Wed Nov 23, 2016 2:42 am

Re: ERROR: Your MySQL TimeZone database is not populated

Post by zetoo »

I dont know if this may help you. But I solved my timezone table by:
- Downloading timezone_2016j_posix_sql.zip in http://dev.mysql.com/downloads/timezones.html
- Then go to cmd and type this mysql -u root mysql < file_name
- Restart server

Steps above came from this link https://dev.mysql.com/doc/refman/5.7/en ... pport.html
jblack
Posts: 32
Joined: Mon Apr 11, 2011 9:21 am

Re: ERROR: Your MySQL TimeZone database is not populated

Post by jblack »

The above is missing some steps.

http://dev.mysql.com/downloads/timezones.html

Download the appropriate file. Then unzip the .sql file.

From cmd run mysql -u root -p mysql < file_name.sql
Then type mysql -u root -p and enter your root password for MySQL.

Next type: grant select on mysql.time_zone_name to 'cactiuser'@'localhost' identified by 'cactiuser';
Then type: flush priveleges;

No need to reboot. If you refresh the page you shouldn't get the error again.
Operating System: Windows 7 Pro x64
Webserver: Apache 2.2.22
Cacti: .8.8G
Spine: .8.8A (Yes this is correct :-/, but I think I'm using CMD.PHP )
MySQL: 5.5.27 (x86)
PHP: 5.3.17
RRDTool (Cygwin or Win32 version): win32 1.4.5
Net-SNMP: 5.5
Cygwin (cygwin1.dll version): 1007.9.0.0
loki6000
Posts: 1
Joined: Tue Aug 18, 2020 10:21 am

Re: ERROR: Your MySQL TimeZone database is not populated

Post by loki6000 »

Zetoo, life saver been all afternoon researching !!!! this fixed it. I already had the file but all instructions were off !!

Many thanks
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: ERROR: Your MySQL TimeZone database is not populated

Post by netniV »

If the instructions are off, try submitting an update on our documentation repo.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest