Troubles to get connected to mysql

[FONT=Arial]I ran the script bellow :

$test = mysql_connect(“localhost”, “[email protected]”, “password which was configured on”);
print “$test”;

…and the outcome has been the error message :

Warning: mysql_connect() [function.mysql-connect]:
Access denied for user ‘[email protected]’@‘localhost’ (using password: YES) in
c:\wamp\www\count\mysql_php_connection.php on line 8

The prompt gives me [email protected] and localhost as username and server ;
I´ve not clearly understood what is going on ;
So please if someone could explain what is wrong I would appreciate very much ;
Thank you all for your attention

c:/wamp/mysql/bin/mysql.exe Ver 14.7 Distrib 4.1.10a, for Win95/Win98 (i32)

mysql> \s

Connection id: 153
Current database:
Current user: [email protected]
SSL: Not in use
Using delimiter: ;
Server version: 4.1.10a-nt
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
TCP port: 3306
Uptime: 6 hours 30 min 26 sec