WordPress.org

Ready to get started?Download WordPress

Forums

I'm Stumped. (7 posts)

  1. iiedwinii
    Member
    Posted 9 years ago #

    I am hosting with Brinkster and they have confirmed that my user name and passwords are correct as well as MYsql db settings.

    This is what my first line of code looks like for the wp-config.php

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpresss'); // The name of the database
    define('DB_USER', 'UN'); // Your MySQL username
    define('DB_PASSWORD', 'PW');
    // ...and password
    define('DB_HOST', 'localhost');
    .... and so on...

    Does php create its own db? do I have to create the db on the server. I have already tried this and it still does not work.

    And ofcourse this is the Classic error message that I am getting

    Error establishing a database connection...

  2. bbouch
    Member
    Posted 9 years ago #

    Just an observation:

    Did you create a DB called "wordpress"

    In your example above the DB name has 3 "s"

    Could just be a typo in the posting, ormaybe that's what you named it, but it looked funny to me at first glance.

  3. iiedwinii
    Member
    Posted 9 years ago #

    ah yes, that was just an 's' that slipped away... but i continue having the same problem...

  4. iiedwinii
    Member
    Posted 9 years ago #


  5. Kafkaesqui

    Posted 9 years ago #

    Does your host provide information on how to connect to the db server? For example, it's possible 'localhost' needs the actual name of the server (as it doesn't *always* work), like 'mysql.server.com'.

  6. iiedwinii
    Member
    Posted 9 years ago #

    Ok.. moving along now... i have changed the DB_Host... now i am getting an error for the database server... which i have created, but it seems like it can not locate the db...

  7. iiedwinii
    Member
    Posted 9 years ago #

    I am now moving onto the next step... You guys have been very helpful in leading me in the right direction... Thanks so much :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.