your settings.inc.php file should look like this:
?>
<?php
// database values
$dbtablesprefix = "fws_";
$dblocation = "serverlocation";
$dbname = "nameofyourshopsdatabase";
$dbuser = "username";
$dbpass = "password";
?>
Change it accordingly (using your own values ofcourse

) and upload the file.
BTW... just to make sure... i suppose you exported your shops databasetables from the old server and import them into the new server? And when you did so, no errors what so ever were generated?