Error establishing a database connection with wordpress and wamp

I tried to install WordPress using wamp as localhost, but I got the following error all the time:
Error establishing a database connection

I tried to use many solutions but they didn’t really help.
I tried changing the privileges mostly because most of the tutorials suggested that.

Any other solutions?

enter image description here