Title: wp-config-sample.php  help needed.
Last modified: August 20, 2016

---

# wp-config-sample.php help needed.

 *  [teresaw](https://wordpress.org/support/users/teresaw/)
 * (@teresaw)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-config-samplephp-help-needed/)
 * I have downloaded XAMMP & then I downloaded wordpress. When I came to the part
   where it tells me to, Open the file wp-config-sample.php. I did but it takes 
   me to, Microsoft Digital Image Pro 9! Then the message appears saying, File
    
   C;\Users\User\Documents\wordpress-3.2.1\wordpress\wp-config-sample.php could 
   not be opened.
 * Can anyone help me please to correct this.
    Many thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-config-samplephp-help-needed/#post-2252833)
 * You need to open the file in a plain text editor such as Notepad.
 *  Thread Starter [teresaw](https://wordpress.org/support/users/teresaw/)
 * (@teresaw)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-config-samplephp-help-needed/#post-2252844)
 * Thank you esmi. I have opened the file in Notepad. Do I have to put my password
   in where it says, root?
    Many thanks.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-config-samplephp-help-needed/#post-2252848)
 * The bits you have to amend are:
 *     ```
       // ** MySQL settings - You can get this info from your web host ** //
       /** The name of the database for WordPress */
       define('DB_NAME', 'database_name_here');
   
       /** MySQL database username */
       define('DB_USER', 'username_here');
   
       /** MySQL database password */
       define('DB_PASSWORD', 'password_here');
   
       /** MySQL hostname */
       define('DB_HOST', 'localhost');
       ```
   
 *  Thread Starter [teresaw](https://wordpress.org/support/users/teresaw/)
 * (@teresaw)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-config-samplephp-help-needed/#post-2252851)
 * Many thanks esmi, you have been a great help 🙂
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-config-samplephp-help-needed/#post-2252856)
 * No problem 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘wp-config-sample.php help needed.’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/wp-config-samplephp-help-needed/#post-2252856)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
