cacti icon indicating copy to clipboard operation
cacti copied to clipboard

Fatal Error - Cacti Database Not Initialized - missing mysql grant command

Open BSOD2600 opened this issue 9 years ago • 3 comments

On the Fatal Error - Cacti Database Not Initialized page, it's missing a mysql grant command for mysql.time_zone_name

GRANT SELECT ON mysql.time_zone_name TO cactiuser@localhost IDENTIFIED BY 'cactipw';

image

BSOD2600 avatar Jan 05 '17 06:01 BSOD2600

Also this line mysql -uroot -p < /pathcacti/cacti.sql is missing the database selection mysql -uroot -p cacti < /pathcacti/cacti.sql

otherwise a user would get:

ERROR 1046 (3D000) at line 12: No database selected

BSOD2600 avatar Jan 05 '17 06:01 BSOD2600

Good catch.

cigamit avatar Jan 05 '17 13:01 cigamit

Resolved thanks!

cigamit avatar Jan 05 '17 23:01 cigamit