Wordpress installation help - ex-blogger

Discussion in 'WordPress' started by seobrien, Apr 22, 2007.

  1. #1
    I admit it, I'm lost.

    I can't decifer the wp-config.php file to enter the sql information I need.

    --------
    <?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 de.mo 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__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

    -----------------

    Which data do I change here? The DB_*** or the lowercase iteration of the information?
    Localhost needs to be what? domain name plus database name or only domain?

    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

    Thanks!!
     
    seobrien, Apr 22, 2007 IP
  2. seobrien

    seobrien Peon

    Messages:
    222
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    seobrien, Apr 22, 2007 IP
  3. AmeryWeb

    AmeryWeb Guest

    Messages:
    92
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Answer to your first post... change the lowercase info.
    If you're installing WP on the same server as the database, it should remain 'localhost'.

    Installing in a subfolder shouldn't matter. That error means that your database name is wrong.
    Recheck your wp-config.php.
     
    AmeryWeb, Apr 22, 2007 IP
  4. seobrien

    seobrien Peon

    Messages:
    222
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Awesome thank you

    I'm still unsure of this though as my domain (seobrien.com) is managed through a different domain (rareexception.com) with files found here: /public_html/seobrien

    Does that change the localhost location?
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    Thanks alot
     
    seobrien, Apr 22, 2007 IP
  5. seobrien

    seobrien Peon

    Messages:
    222
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I made progress
    But upon installation, I can't login
    I get this error
    Forbidden
    You don't have permission to access /wp-admin/ on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    This is driving me nuts, was supposed to be simple
     
    seobrien, Apr 22, 2007 IP