Connect WordPress to Your Database

Update: March 21st, 2009

Return to How to Install WordPress onto Shared Hosting: Download and Upload

Now that the WordPress files are uploaded to your hosting account and have created a database for WordPress to store your blog data in, you need to tell WordPress how to connect to your database. This is done by editing the WordPress settings file:

  1. parcom-domain-file Back in the control panel, on the Domain Menu page, click the File Manager icon.
  2. parcom-file On the File Manager page, click on the “wwwroot” directory.
  3. parcom-file-wwwroot On the File Manager page for the “wwwroot” directory, click on the “wp-config-sample.php” file.
  4. parcom-file-edit On the File Manager page for the “wp-config-sample.php” file, change the file’s name to “wp-config.php” in the Save File As box. Then, in the File Content box, change the settings for database name, username, password, and server name to the values you used when you created the database. When you are finished, click the Save button.
No comments yet.