# PostgreSQL User Name Maps
# =========================
#
# Refer to the PostgreSQL Administrator's Guide, chapter "Client
# Authentication" for a complete description. A short synopsis follows.
#
# This file controls PostgreSQL username mapping. It maps
# external user names to their corresponding
# PostgreSQL user names. Records are of the form:
#
# MAPNAME SYSTEM-USERNAME PG-USERNAME
#
# (The uppercase quantities must be replaced by actual values.)
#
# MAPNAME is the (otherwise freely chosen) map name that was used in
# pg_hba.conf. SYSTEM-USERNAME is the detected user name of the
# client. PG-USERNAME is the requested PostgreSQL user name. The
# existence of a record specifies that SYSTEM-USERNAME may connect as
# PG-USERNAME.
#
# If SYSTEM-USERNAME starts with a slash (/), it will be treated as
# a regular expression. Optionally this can contain a capture (a
# parenthesized subexpression). The substring matching the capture
# will be substituted for \1 (backslash-one) if present in PG-USERNAME.
#
# Multiple maps may be specified in this file and used by pg_hba.conf.
#
# No map names are defined in the default configuration. If all system
# user names and PostgreSQL user names are the same, you don't need
# anything in this file.
#
# This file is read on server startup and when the postmaster receives
# a SIGHUP signal. If you edit the file on a running system, you have
# to SIGHUP the postmaster for the changes to take effect. You can use
# "pg_ctl reload" to do that.
# Put your actual configuration here
# ----------------------------------
# MAPNAME SYSTEM-USERNAME PG-USERNAME
# EOF
Oct 18 17:55:43 nagios01 nagios: ndomod: Error writing to data sink! Some output may get lost. 4808 queued items to flush.
Oct 18 17:55:59 nagios01 nagios: ndomod: Successfully reconnected to data sink! 3774 items lost, 5000 queued items to flush.
Oct 18 17:55:59 nagios01 ndo2db: Error: Could not connect to MySQL database: Access denied for user 'ndoutils'@'localhost' (using password: YES)
Just to follow up, I haven't received any PM's regarding this. Are you following up by email? Let me know if anyone is following up with you on this and if not we'll try and get a session scheduled.
[Tue Oct 30 11:40:49 2012] [error] [client xx.xx.xx.xx] PHP Warning: mysql_pconnect(): Access denied for user 'nagiosql'@'localhost' (using password: YES) in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-mysql.inc.php on line 383, referer: http://yy.yy.yy.yy/
I guess it's MySQL credentials problem now. Since I'm not that competence using MySQL can we get remote session for this?