Following are the guidelines I would like to share with website hosting clients who are going to host there blog or website as based on a wordpress. Find out the following in the downloaded and unzipped the WordPress program on your computer and edit it as I am placing the instruction under each of it.
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
Replace your desired domain name with putyourdbnamehere
/** MySQL database username */
Replace your desired username name with usernamehere
/** MySQL database password */
Replace your desired password name with yourpasswordhere
/** MySQL hostname */
There is no need to change localhost unless any specific requirement.