hi, can you help me, i need to know why i keep getting this error?

Got error: 1045: Access denied for user 'user'@'localhost' (using password: YES) when trying to connect to database