To move:
Transfer all files from one to the other, add the install folder from the ver. you are using, if the moved site is 1.5.1 then use an install folder from 1.5.1, if 1.5.3 use the install folder from that, you get the idea...
Most times you will download the tar file from
http://dev.cmsmadesimple.org/project/files/6#package-1 and unpack them on your comp. then FTP them to your site, or get them up there some how, so you should still have the unpacked folder on your comp. including the install folder, I still have the first one I used from march of 2006...
Once all folders/files are transfered to new site move your DB, this will be done in many diff. ways as your setup may not be the same as mine but basically it is go to your control panel, mine is cPanel then...
I go to MySQL Databases that has a link to create a DB...
Where you need to create a new DB and then I add a user to it that has all privileges...
Then at the bottom it has a link to phpMyAdmin where I can now import the DB into the new DB I just made...
Now you go to your site, yoursite.com/install/ and this will start the install process fill all needed fields and keep going till you get to step 5...
Here it asks for Site Name, do as you need here, and then it asks for Database Information here you fill in the needed info...
Database Type: most are mysql
Database host address: on mine it is localhost, but it looks like yours is something you don't know or got wrong some how, my 1and1 used to be something like db1092.perfora.net
Database name this is where you use the name you made for the DB in the MySQL Databases step
Username name that you used in the MySQL Databases step
Password the one you made in the MySQL Databases step
Database port I never use this
Table prefix If moving a site you need to use the same one you used the first time, most times this is cms_
Next is the part you want to be careful of if you don't uncheck this you will get a default install and all you changes will be removed..
Create Tables (Warning: Deletes existing data)
UNCHECK THIS
Install sample content and templates
UNCHECK THIS if you don't it will mess up your work..
Proceed from here as normal install, and this should fix any path problems you may have when moving a site...
susiegb:
Your problem is that you can't connect to the DB you have the wrong path to the DB host, you may need to cantact your host to find the correct path and if the other settings are correct like username and password you should be good to go when you change the path in your config.php...
EDIT: sorry if I wasn't clear about having to create the DB before you can import one to it...