[問題] CentOS7 無法安裝Cacti
不才小弟想請教廣大的版友
近日安裝兩次Cacti都卡在同樣問題
MySQL TimeZone Support
ERROR: Your Cacti database login account does not have access to the MySQL
TimeZone database. Please provide the Cacti database account "select" access
to the "time_zone_name" table in the "mysql" database, and populate MySQL's
TimeZone information before proceeding.
一直試不出哪裡需要改更@@
http://blog.itist.tw/2016/03/install-cacti-graphing-system-monitoring-tool-on
-centos-7.html
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 203.66.179.61
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1490943297.A.14A.html
→
03/31 14:57, , 1F
03/31 14:57, 1F
推
03/31 15:08, , 2F
03/31 15:08, 2F
→
03/31 15:09, , 3F
03/31 15:09, 3F
請教
是我需要在Mysql 上面另外建一個 TimeZone Database 嗎 ? 還是 ?
※ 編輯: intefish (203.66.179.61), 03/31/2017 15:10:49
推
03/31 15:33, , 4F
03/31 15:33, 4F
→
03/31 15:34, , 5F
03/31 15:34, 5F
→
03/31 15:34, , 6F
03/31 15:34, 6F
→
03/31 15:35, , 7F
03/31 15:35, 7F
有欸 這段我也有執行,也有下 set global time_zone = '+8:00';
但還是沒用
※ 編輯: intefish (203.66.179.61), 03/31/2017 15:37:29
推
03/31 15:40, , 8F
03/31 15:40, 8F
→
03/31 15:40, , 9F
03/31 15:40, 9F
→
03/31 15:41, , 10F
03/31 15:41, 10F
是跟這一段有關係嗎 ?
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
這一段指令我也一直卡住= = ,不太懂後面 root 後面接 mysql 是表示資料恩稱?
※ 編輯: intefish (203.66.179.61), 03/31/2017 16:36:02
→
03/31 16:45, , 11F
03/31 16:45, 11F
→
03/31 16:45, , 12F
03/31 16:45, 12F
→
03/31 16:45, , 13F
03/31 16:45, 13F
→
03/31 16:46, , 14F
03/31 16:46, 14F
底下指令沒問題
GRANT ALL ON cactidb.* TO 'cactiuser'@'localhost';
但是
GRANT SELECT ON `mysql`.`time_zone_name` TO 'cactiuser'@'localhost';
這段只需修改 userID嗎 ? 改了還是出現底下錯誤
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax
to use near 'the manual that corresponds to your MariaDB server version
for the right syntax ' at line 1
※ 編輯: intefish (203.69.214.175), 03/31/2017 18:03:09
推
04/01 14:27, , 15F
04/01 14:27, 15F
→
04/01 14:27, , 16F
04/01 14:27, 16F
→
04/01 19:17, , 17F
04/01 19:17, 17F
→
04/01 19:17, , 18F
04/01 19:17, 18F
→
04/01 19:17, , 19F
04/01 19:17, 19F
→
04/01 19:18, , 20F
04/01 19:18, 20F
→
04/01 19:19, , 21F
04/01 19:19, 21F
感謝大大們幫忙,總算可以正常啟用了= =
※ 編輯: intefish (203.66.179.61), 04/05/2017 15:10:41
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章