If you are building a wordpress on a local host, then this a plug-in worth taking a look at. It is called WP Migrate DB. See screenshot below...
If you are comfotable editing the config.php file then check out this link..."How to transfer a WordPress Site."