If you use Piwik 2.1 or newer:

  1. Connect to your Piwik database using a tool such as phpMyAdmin or direct Mysql access.
  2. The following SQL query must be executed on your database. Replace the ‘admin’ with your Super User username. Note that it must be replaced twice in this SQL query.

    UPDATE `piwik_user` SET `password` = MD5( 'changeMe' ), `token_auth` = MD5( CONCAT('admin', password)) WHERE `login` = 'admin' AND superuser_access = 1 
    
  3. Login to Piwik using the following credentials:

    login: admin 
    password: changeMe
    
  4. Click on ‘Settings’, then change your password to a more secure one.

  5. Check you are using the most up to date version of Piwik.

If you use Piwik older 2.0.3 or older:

  1. In your config.ini.php, change the [superuser] section to:

    [superuser]
    login = "admin"
    password = "807ff71b3301262e222ad05e5b7c4325"
    email = "admin@example.org"
    salt = "ffd09b1b27ad925d2a3ca842947f391d"
    
  2. Login to Piwik using the following credentials:

    login: admin 
    password: ChangeMe
    
  3. Go to Settings -> User settings, then update your email and change the password, click Save.

  4. Update Piwik to the latest version as soon as possible!