Cloning blog to localhost via WAMP

You must change the parameters to connect to the database in the file wp-config.php in the root folder of your WordPress installation, or create the same user/password and database name for the database that you have created locally with WAMP.

Note:
You may have to change the blog_url and every url in the dump that refers to images/css in the posts , if you want to use it locally. You can do this via a find/replace in the SQL ( http://www.youronlinesite.com -> http://localhost) or in the SQL after you create the DB, see this link for a list of useful queries