I'm doing it by command line. First I drop the database that was created from the "fresh install". The steps are approximately:
mysqladmin drop WWWThreads
mysqladmin create WWWThreads
mysql WWWThreads < WWWThreads.dump
I can access the imported threads with phpMyAdmin, and the config scripts are staying the same as far as the user/pass that has access to the database.