ERROR: Your MySQL TimeZone database is not populated
Moderators: Developers, Moderators
ERROR: Your MySQL TimeZone database is not populated
please help me (my English is poor )
when I install the cacti-1.0.1
my problem:
Pre-installation Checks
MySQL TimeZone Support
ERROR: Your MySQL TimeZone database is not populated. Please populate this database before proceeding.
system infomation
centos6.3
mysql version 5.6.35
# date -R
Wed, 08 Feb 2017 17:28:51 +0800
mysql> show variables like '%time_zone%';
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | CST |
| time_zone | +08:00 |
+------------------+--------+
2 rows in set (0.00 sec)
###################################
i have solve my problem
将系统时区导入数据库中
# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql
when I install the cacti-1.0.1
my problem:
Pre-installation Checks
MySQL TimeZone Support
ERROR: Your MySQL TimeZone database is not populated. Please populate this database before proceeding.
system infomation
centos6.3
mysql version 5.6.35
# date -R
Wed, 08 Feb 2017 17:28:51 +0800
mysql> show variables like '%time_zone%';
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | CST |
| time_zone | +08:00 |
+------------------+--------+
2 rows in set (0.00 sec)
###################################
i have solve my problem
将系统时区导入数据库中
# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql
Last edited by nimenhao on Wed Feb 08, 2017 8:29 pm, edited 1 time in total.
Re: ERROR: Your MySQL TimeZone database is not populated
This site should help you with that problem. It worked for me.
http://www.geeksengine.com/article/popu ... mysql.html
http://www.geeksengine.com/article/popu ... mysql.html
Re: ERROR: Your MySQL TimeZone database is not populated
klatta wrote:This site should help you with that problem. It worked for me.
http://www.geeksengine.com/article/popu ... mysql.html
thak you very much,I have read your solutions and solve my problem.
geekssengine is a good site.
do you use Social software? like facebook or whatapps?
Re: ERROR: Your MySQL TimeZone database is not populated
I have this erro;
root@cacti:/home/joca# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p cacti
Enter password:
ERROR 1146 (42S02) at line 1: Table 'cacti.time_zone' doesn't exist
root@cacti:/home/joca# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p cacti
Enter password:
ERROR 1146 (42S02) at line 1: Table 'cacti.time_zone' doesn't exist
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: ERROR: Your MySQL TimeZone database is not populated
You need to load this into the mysql database, not into the cacti database. So try this:
Code: Select all
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: ERROR: Your MySQL TimeZone database is not populated
root@cacti:/home/joca# mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Enter password:
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Enter password:
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: ERROR: Your MySQL TimeZone database is not populated
Check the pre-install steps if you can now proceed with the installation.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ERROR: Your MySQL TimeZone database is not populated
I believe the syntax is a bit off (after doing this a dozen times myself...)phalek wrote:You need to load this into the mysql database, not into the cacti database. So try this:
Code: Select all
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Code: Select all
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -p
Good luck.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: ERROR: Your MySQL TimeZone database is not populated
Both work, but you can look here for the official syntax(or examples): https://dev.mysql.com/doc/refman/5.7/en/connecting.html
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: ERROR: Your MySQL TimeZone database is not populated
mysql> GRANT ALL PRIVILEGES ON mysql.* TO 'cacti'@'localhost' WITH GRANT OPTION;
Solved My Problem!
Solved My Problem!
Re: ERROR: Your MySQL TimeZone database is not populated
joca wrote:mysql> GRANT ALL PRIVILEGES ON mysql.* TO 'cacti'@'localhost' WITH GRANT OPTION;
Solved My Problem!
this problem maybe is datebase version ,my mysql is 5.7,but mysql5.3 tables is different.
(My English is poor,May be unclear)
(I have a questonWhat social software do you use?)
Re: ERROR: Your MySQL TimeZone database is not populated
nimenhao, you can try:
cd cacti/cli
php repair_database.php --force
php upgrade_database.php
it solved my the same problem
cd cacti/cli
php repair_database.php --force
php upgrade_database.php
it solved my the same problem
Re: ERROR: Your MySQL TimeZone database is not populated
joca wrote:I have this erro;
root@cacti:/home/joca# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p cacti
Enter password:
ERROR 1146 (42S02) at line 1: Table 'cacti.time_zone' doesn't exist
It is database version problem
Re: ERROR: Your MySQL TimeZone database is not populated
izmenoff wrote:nimenhao, you can try:
cd cacti/cli
php repair_database.php --force
php upgrade_database.php
it solved my the same problem
thank you very much!!!
Re: ERROR: Your MySQL TimeZone database is not populated
Hi, I followed the following video series:
https://www.youtube.com/watch?v=5COQumLGDzY
I also have the "ERROR: Your MySQL TimeZone database is not populated. Please populate this database before proceeding."
Is there anything that this tutorial misses that I need to do regarding the timezones?
Thanks
https://www.youtube.com/watch?v=5COQumLGDzY
I also have the "ERROR: Your MySQL TimeZone database is not populated. Please populate this database before proceeding."
Is there anything that this tutorial misses that I need to do regarding the timezones?
Thanks
Who is online
Users browsing this forum: No registered users and 2 guests