I wanted to ask a quick question, I am trying to restore a forum and when I import the sql file I get the error message "An unexpected database error occurred. Please try again later." I know that the DB username and password are most likely different, how or what can I edit to add the new ones?
If you are using cpanel, you can try to add a new mysql user with a new password in cpanel > mysql database and then assign them to your xf database. Then edit your /library/config.php and edit the database user and database password.
You can do the same thing in VPS/Dedicated with phpmyadmin (if you are using phpmyadmin)