im using apache 2/php/mysql

i keep going to connect to mysql
but it gives the error

Warning: mysql_connect(): Access denied for user: 'xxxx@localhost' (Using password: YES) in C:\Program Files\Apache Group\Apache2\htdocs\mysqltest.php on line 3
Access denied for user: 'xxxx@localhost' (Using password: YES)

i check my my.ini

and the user/passwords are correct, does anyone know what might be causing this problem