Pb upgrade to 2.5.0 : Access denied for user



As usual I’ve made the PIWIK upgrade using my browser. But last upgrade to 2.5.0 was wrong; the PIWIK URL is now showing an error message and I’m unable to connect.

The only information shown on the piwik screen:

[i][b]Cannot connect to the database:

SQLSTATE[28000] [1045] Access denied for user ‘www-data’@‘localhost’ (using password: NO)

This may be a temporary issue, try refreshing the page. If the problem persists please contact your Piwik administrator.[/b][/i]

I must admit I did not made any backup of the directory content before launching this automatic upgrade… :frowning:

Any idea? How can I recover ? please help! Thanks


ok it seems that my update to 2.5.0 broke the configuration file.

I’ve manually upgrade to 2.5.0, deleted the configuration.ini.php file, restarted piwik installation and in second step, specifying the current database in order to recover months of stats.

And now it’s working fine!