I never used version 6 but it appears in this case it would be the same as version 7.
You need to edit a file and make corrections to the paths,database name,user password etc. Manually.
Try looking for includes/config.inc.php.
The top few lines should be what needs to be changed. to get it running to the point of opening the control panel.