SQLSTATE[HY000] [1698] Access denied for user 'piwik'@'localhost' code example Example: RROR 1698 (28000): Access denied for user 'root'@'localhost sudo mysql -u root -p