can not connect to database

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
afernandez
Posts: 17
Joined: Mon Sep 23, 2013 4:02 pm

Re: can not connect to database

Post by afernandez »

grep DBHOST= /root/scripts/automysqlbackup
DBHOST=localhost
# When connecting to localhost as the DB server (DBHOST=localhost) sometimes
:(
afernandez
Posts: 17
Joined: Mon Sep 23, 2013 4:02 pm

Re: can not connect to database

Post by afernandez »

I just put the output of that command where did it go?

grep DBHOST= /root/scripts/automysqlbackup
DBHOST=192.168.120.39
# When connecting to localhost as the DB server (DBHOST=localhost) sometimes
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: can not connect to database

Post by slansing »

You just designated the address of your offloaded database correct? The script should now look there for your nagios mysql databases when it makes a backup.
afernandez
Posts: 17
Joined: Mon Sep 23, 2013 4:02 pm

Re: can not connect to database

Post by afernandez »

yes i did
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: can not connect to database

Post by slansing »

And? :)
Locked