There are two ways you can create the wp-config.php file:
Manual: Open wp-config-sample.php in your plain text editor and enter the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST information for your local web server, then Save the file as wp-config.php in the root of the folder WordPress will be installed in (e.g. wordpress-trunk).
Automated: Allow WordPress to create the file during the installation process. If there is no wp-config.php file present, you will be asked to create one at the beginning of the install process.
Both are acceptable – use the method that you prefer.
If you created your wp-config.php file manually, you will be presented with the standard WordPress installation screen. You will do the famous “5 minute install” – enter your site title, desired username, choice of a password (twice), and your e-mail address, then click Install WordPress to complete the installation. Click Log In on the Success screen, enter your username and password, and configure the settings for your preferences.
If you prefer to let WordPress create the file, you will be presented with a screen asking if you want to create the file now. Click Create a Configuration File to continue. Enter your database credentials for your local web server on the third screen, as well as the database table prefix you want to use (default is wp_). After you complete all the fields, click Submit. WordPress will check that it can connect to your database with the information you provided. If successful, click Run the install to proceed.
You will then do the “5 minute install”, complete all the fields, and click Install WordPress to complete the installation. Click Log In on the Success screen, enter your username and password, and configure your settings.
Your local install will be used for beta testing and reporting bugs, so it is important for you to see error messages and notices. Open wordpress-svn/wp-config.php in your plain text editor, and set WP_DEBUG to true:
* For developers: WordPress debugging mode.
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.