Nagiosql MySQL DB connection error
Posted: Thu Sep 22, 2016 5:21 am
Hi Nagios Support,
I'm hoping someone can help me here. I am running nagios 4.2.0 on RHEL 7 box. I was looking for a config tool and cam across nagiosql as probably one of the only ones recommended for core 4.
Ive gone through the installation fine, however when I get to the login page for nagiosql I get a DB connection error, and I cannot login. Error below -
"Error while connectiong to database [localhost] Connection to the database server has failed by reason: Accessed denied for user 'nagiosql_user'@'localhost' (using password: YES)"
I am running the web UI install on the box itself, hence "localhost", but I have tried running from an external browser specifying either the IP or FQHN.
Running mariaDB server 5.5.50. I can log into the DB locally with the nagiosql user, using the mysql console.
Everything checks out on the pre-install steps so I am confused by this one.
Has anyone experienced the same?
At this stage I am also open to trying a different config tool - I just haven't found one for version 4.2.0
Any help/insight much appreciated.
I'm hoping someone can help me here. I am running nagios 4.2.0 on RHEL 7 box. I was looking for a config tool and cam across nagiosql as probably one of the only ones recommended for core 4.
Ive gone through the installation fine, however when I get to the login page for nagiosql I get a DB connection error, and I cannot login. Error below -
"Error while connectiong to database [localhost] Connection to the database server has failed by reason: Accessed denied for user 'nagiosql_user'@'localhost' (using password: YES)"
I am running the web UI install on the box itself, hence "localhost", but I have tried running from an external browser specifying either the IP or FQHN.
Running mariaDB server 5.5.50. I can log into the DB locally with the nagiosql user, using the mysql console.
Everything checks out on the pre-install steps so I am confused by this one.
Has anyone experienced the same?
At this stage I am also open to trying a different config tool - I just haven't found one for version 4.2.0
Any help/insight much appreciated.