Checklist for Testing and Configuring Word Press Installation - Getting Started
(Page 2 of 4 )
The first thing you will do is look for the wp-config-sample.php file in the WP folder. Right-click this file and open with Notepad. The objective is to configure WordPress in accordance with the server and database settings you made in part one of this tutorial (in the section on server configuration for WordPress).
// ** MySQL settings ** //
define('DB_NAME', 'putyourdbnamehere'); // The name of the database
define('DB_USER', 'usernamehere'); // Your MySQL username
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
You will only need to alter (in red bold, replace with your data and do not alter the quotation mark)
define('DB_NAME', ' putyourdbnamehere '); // The name of the database
define('DB_USER', ' usernamehere '); // Your MySQL username
define('DB_PASSWORD', ' yourpasswordhere '); // ...and password
define('DB_HOST', ' localhost '); // 99% chance you won't need to change this value
The values you will place should be:
' putyourdbnamehere ' = place the name of the database, if you use GoDaddy as your hosting company, get the "Database Name" in the "MySQL Database Information" of your hosting account.
' usernamehere ' = place your username in the MySQL Database information, in my experience this is the same with ' putyourdbnamehere '
' yourpasswordhere ' = place your database password you have written during the setup of the MySQL Database.
' localhost ' = place your hostname info, if you are using GoDady typically this should like:
p87mysql12.secureserver.net
Remember to only change the parts marked in red; maintain the quotation marks or else you will have a serious database error.
For example, if you have a data base named Monkeybusiness, you should write it as:
define('DB_NAME', 'Monkeybusiness'); // The name of the database
Next: Maximize Database Security and Complete the Configuration File >>
More Blog Help Articles
More By Codex-M