Error while trying to connect to the database server

During PIWIK installation, step 3, Database Setup I get the following error message:
Error while trying to connect to the database server:
SQLSTATE[HY000] [1045] Access denied for user ‘Peter’@‘localhost’ (using password: YES)
I admit I am a newbie. What am I doing wrong here?
I attached a picture of the error message

Hi,

1-You have piwik and mysql on the same machine. Right?

2-Try to understand what is wrong with user/passwd. (May be you did’nt define passwd)
show grants for ‘Peter’@‘localhost’ ;

3- See if everything is OK with you users,
select user,host,char_length(password) from mysql.user

4- Using the info in the config.ini.php try to
mysql -h [hostname] -u [username] -p[password] -D [dbname]