Support » Installing WordPress » what goes where?

  • <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress');    // The name of the database
    define('DB_USER', 'username');     // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);

    i dont know where to put the username passowrd or any of that stuff
    idont know if i pyt it here:
    // <strong>Your MySQL username</strong>
    or here:
    ('DB_PASSWORD', '<strong>username</strong>')

Viewing 7 replies - 1 through 7 (of 7 total)
  • define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘username’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘password’); // …and password
    define(‘DB_HOST’, ‘localhost’);

    delete wordpress put your database name

    delete username put the username you have associated with your database

    delete password insert the password you have associated with your database

    Make sure not to delete the single quotes and make sure to save the file as config.php

    ok thanks now i get

    Can’t select database

    We were able to connect to the database server (which means your username and password is okay) but not able to select the xtxtx91x_wordpress database.

    * Are you sure it exists?
    * On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?

    double check that you have entered your database name exactly as it appears on your cpanel or phpMyAdmin.

    If that still doesn’t work try renaming your data base wpwhatever. Also make sure that if on your cpanel the database shows as yourname_wpwhatever that you enter it exactly that way.

    I did have that error once and I believe that’s how I fixed it.

    well its still not working =\

    do you have any spaces between any of the things you changed and the single quotes?

    Just one space can make it not work.

    If you’re really stuck:

    ok thanks i got it now!!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘what goes where?’ is closed to new replies.