KUMARULLAL
Guru
- Joined
- Feb 20, 2008
- Messages
- 243
- Reaction score
- 28
I installed a fresh copy of minimal centos 6.5. Afterwhhich I installed the incredible PBX and GUI.
Everything works great so I never bothered to look at freepbx cdr reports. It is blank.
So I looked at the cli and found
ERROR[2477][C-00000000]: cdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user 'asteriskuser'@'localhost' (using password: YES)
This is a fresh install.
The contents of /etc/asterisk/cdr_mysql.conf is BLANK
The contents of /etc/asterisk/res_odbc_additional.conf
;------------------------------------------------------------------------------- -;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;------------------------------------------------------------------------------- -;
;
[asteriskcdrdb]
enabled=>yes
dsn=>MySQL-asteriskcdrdb
pooling=>no
limit=>1
pre-connect=>yes
username=>root
password=>passw0rd
Here should the username be asteriskuser and password be amp109?
Cant figure out.
Everything works great so I never bothered to look at freepbx cdr reports. It is blank.
So I looked at the cli and found
ERROR[2477][C-00000000]: cdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user 'asteriskuser'@'localhost' (using password: YES)
This is a fresh install.
The contents of /etc/asterisk/cdr_mysql.conf is BLANK
The contents of /etc/asterisk/res_odbc_additional.conf
;------------------------------------------------------------------------------- -;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;------------------------------------------------------------------------------- -;
;
[asteriskcdrdb]
enabled=>yes
dsn=>MySQL-asteriskcdrdb
pooling=>no
limit=>1
pre-connect=>yes
username=>root
password=>passw0rd
Here should the username be asteriskuser and password be amp109?
Cant figure out.