Changed Hostname - now get error on CDR

Hi,

I am running the latest Distro and have needed to change the Hostname of the PC as we are using Observium for SNMP Monitoring. I have edited the Hostname in etc/sysconfig/network and saved. Now when I make a call I get the following error in Asterisk CLI:

[2014-04-16 10:54:05] ERROR[1980][C-00000001]: cdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user ‘freepbxuser’@‘localhost’ (using password: YES)

Can someone please help me understand why I get this and what I can do to correct it.

Matt

Change it back, does it work then? localhost does not need name services unless you have hosed your /etc/hosts file which preempts any name services , it should always be 127.0.0.1, so your mysql acls should not have changed. I think you did something else to make it not work.