How do restore a Wordpress blog (actually, cloning would be the right word) from my server to localhost with WAMP?
I backed up my blog with BackUpWordPress and got a .zip file sitename.backup.2012-01-29-12-50-08. As per instructions, I unzipped the file and got a complete Wordpress installation (folders wp-admin, wp-content, a bunch of files, .htaccess etc.) and an SQL database named database_myusername_wrdp2.
I copied all the files except the database to WAMP's www folder.
Then I opened phpMyAdmin through WAMP, created a database named wordpress, opened that database and used Import button to import database_myusername_wrdp2 to this new database.
Unfortunately, there is obviously no connection between the installation and a database as I get Error establishing a database connection message when I try to open localhost.
What am I doing wrong? How do I clone this blog locally?