don't know nagiosql password

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ctoman
Posts: 1
Joined: Thu Jun 23, 2011 2:19 am

don't know nagiosql password

Post by ctoman »

Error while connecting to database:
[localhost] Connection to the database server has failed by reason:
Access denied for user 'nagiosql'@'localhost' (using password: YES)
dwatson
Posts: 18
Joined: Mon Oct 24, 2011 9:43 pm

Re: don't know nagiosql password

Post by dwatson »

did you get a reply for this error? i am getting the same issue
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: don't know nagiosql password

Post by jsmurphy »

By default there is no password, unless you set one... so try:

mysql -u root

Otherwise you may need to research a way to do mysql password recovery.
Locked