Trying to upload MySQL database to Remote Server

I am trying to upload my Mysql database to my hosting server and have created database for the same I am getting this error

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘triviaso_alton’@‘localhost’ (using password: YES) in /home/triviaso/public_html/allark/config.php on line 8
Could not connect to MySqlAccess denied for user ‘triviaso_alton’@‘localhost’ (using password: YES)

Please help solve it

You’ve either misspelt your password, or you dont have a user account on that server.

Is this a server you’re running yourself?

Are you using PhpMyAdmin to connect to the db, and is that giving you the error message?