An error was encountered

Error: Unable to select database. MySQL reported: Access denied for user 'forum'@'localhost' to database 'forum'.