Announcement

Collapse
No announcement yet.

ERROR 1045 (28000): Access denied for user 'centreon'@'localhost'

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ERROR 1045 (28000): Access denied for user 'centreon'@'localhost'

    People, Im trying to execute in centreon the script "reporting_rrd.pl" --> https://github.com/sgaudart/reporting_rrd
    But when I am execute the script:
    [[email protected] plugins]# perl reporting_rrd.pl --hostfile enodeb.txt --service S1aplnkTOP
    Use of uninitialized value $password in concatenation (.) or string at reporting_rrd.pl line 203.
    Enter password:
    ERROR 1045 (28000): Access denied for user 'centreon'@'localhost' (using password: NO)
    enodeb.txt service:S1aplnkTOP From:01-06-2017 to 01-07-2017
    +----------+---------+--------+-------+
    Use of uninitialized value $unit in concatenation (.) or string at reporting_rrd.pl line 304.
    | hostname | service | metric | value ()|
    +----------+---------+--------+-------+
    +----------+---------+--------+-------+
    [[email protected] plugins]#

    thanks!
    Starts
    6 July 2017
    Ends
    6 July 2017

  • #2
    You need to grant your user to Mysql (of MariaD
    Enter these SQL queries:
    Code:
     GRANT SELECT ON centreon_storage.* TO 'centreon'@'localhost';
    GRANT SELECT, INSERT ON centreon.* TO 'centreon'@'localhost';

    Comment

    Working...
    X