WARNING: Before editing this page. Please, do not edit this Codex Page with the settings for your own server as you are giving the world access to your website’s MySQL password, and will not make your install work. Thank.
As part of the WordPress installation, you must modify the wp-config.php file to define the WordPress configuration settings required to access your MySQL database.
This file, wp-config.php, does not exist in a downloaded copy of WordPress; you need to create it. The wp-config-sample.php file is provided as an example to work from. Save it as wp-config.php before editing. Advanced settings and examples are provided below.
To change the wp-config.php file for your installation, you will need this information:
Database Name
Database Name used by WordPress
Database Username Username used to access Database
Database Password Password used by Username to access Database
Database Host The hostname of your Database Server. A port number, Unix socket file path or pipe may be needed as well. If your hosting provider installed WordPress for you, get the information from them. If you manage your own web server or hosting account, you will have this information as a result of creating the database and user.
