[nativecode=Access denied for user 'www-data'@'localhost' (using password: NO)] ** mysql://:@localhost/asteriskcdrdbCouldn't find anything with google about it, so I was wondering does anybody else get that and/or maybe knows how to fix it?

[nativecode=Access denied for user 'www-data'@'localhost' (using password: NO)] ** mysql://:@localhost/asteriskcdrdbCouldn't find anything with google about it, so I was wondering does anybody else get that and/or maybe knows how to fix it?

Hi,

I'm more or less inexperienced mysql guy, but I think that this is an error that needs bug report. Basically it means, that user "www-data" (this is user under which apache is usually running) cannot access Asterisk internal database in sql... Cause my lack of sql knowledge I like to use phpmyadmin. You can try to fix it with adding new user "www-data" that has access to that database. But anyway if someone else also confirms this, then it should be reported as a bug...

mysql -e "GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO 'www-data'@'localhost'"I notice bulek just posted the same suggestion while writing this, thanks. Seems like the php page is unable to get the credentials from the config file properly. And If some people could confirm that this is not just my setup then it can be reported to mantis.

mysql -e "GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO 'www-data'@'localhost'"I notice bulek just posted the same suggestion while writing this, thanks. Seems like the php page is unable to get the credentials from the config file properly. And If some people could confirm that this is not just my setup then it can be reported to mantis.

I can confirm this also on 701 B3 virgin setup... It shows when I enter Reports section. I also vote for mantis report.

I also spot that flash panel is not working (but it would be really useful, to be able to control Asterisk from nice flash web GUI . check http://www.asternic.org/demo.php )

I also cannot login into voicemail. it says in installation process that pin is also used for voicemail retrieve... But if you check /etc/voicemail.conf, there is no password for user....