[asterisk-users] Unable to insert cdr-data into mysql-DB

Marius Pedersen marius.pedersen at usit.uio.no
Mon Jan 24 09:59:06 CST 2011


Jonas Kellens wrote:
> Hello list,
> 
> I keep on getting the error :
> 
> ERROR[1707] cdr_addon_mysql.c: Cannot connect to database server 
> 127.0.0.1: (1045) Access denied for user 'asteriskcdr'@'localhost' 
> (using password: YES)
> 
> 
> I have a 'cdr' table in my MySQL-DB. On this table the user 
> 'asteriskcdr' has select, insert, update privileges.
> 
> GRANT SELECT , INSERT ,UPDATE ON `Asterisk`.`cdr` TO 
> 'asteriskcdr'@'127.0.0.1';
> 
[snip]

Grant rights to 'asteriskcdr'@'localhost' instead of @'127.0.0.1'? (re 
the error message above)


Regards,
Marius



More information about the asterisk-users mailing list