Problems Using MYSQL DB

Carlos Rego carlos at datacolo.com
Thu Oct 17 03:29:30 CEST 2002


When I start Nagios, I get the following in the LOG file

[1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password ''.  Status data will not be saved!
[1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password ''.  Retention data will not be processed or saved!
[1034817387] Error: Could not re-connect to database server on host '' for status data.  I'll keep trying every 60 seconds...
[1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data!
[1034817387] Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data!

but I DO have those settings set in th cgi.cfg 

xsddb_host=localhost
xsddb_port=3306
xsddb_username=nagios
xsddb_password=xxxxx
xsddb_database=nagios

and I commented out status_file=/ in the main file .. 

what can I be doign wrong ? :( .. when I go to Nagios it says "Error: Could not read host and service status information!"

(I assuem it's related)

-- 
Carlos Rego, carlos at datacolo.com on 10/16/2002



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm




More information about the Users mailing list