Following are the guidelines I would like to share with website hosting clients who are going to host their blog or website based on WordPress. Find out the following in the downloaded and unzipped 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 put your DB name here
/** 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.