• furedragon

    (@furedragon)


    hi,

    I’ve got a common problem, it just says:

    [blockquote]
    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
    [/blockquote]

    I checked everything in the wp-config.php file.
    It goes like this:

    [blockquote]
    …define(‘DB_NAME’, ‘Database’)…
    …define(‘DB_USER’, ‘Furedragon’)…
    …define(‘DB_PASSWORD’, ‘mypassword’)…
    …define(‘DB_HOST’, ‘localhost’)…
    [/blockquote]

    I uploaded everything and still keep getting this error..My question is if I have to make a database named “Database” like reffered to in my wp-config.php file, and what kind of database, just a simple empty one? And if not, what the sollution is for my problem… Thx allot :->

    yours sincerly, FureDragon

Viewing 4 replies - 1 through 4 (of 4 total)
  • eridan

    (@eridan)

    if you set DB_NAME to Database, that´s the database wordpress will look for. In other words, create a database named Database..

    moshu

    (@moshu)

    Thread Starter furedragon

    (@furedragon)

    now it says:

    blockquote
    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 Database 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?

    If you continue to have connection problems you should contact your host. If all else fails you may find help at the WordPress Support Forums.
    /blockquote

    So this means I have to create an empty database, named ‘Database’ like you said, does the database have specific things I must ad..Or will wordpress handle that for me?

    ColdForged

    (@coldforged)

    Just an empty database and a user that has all permissions (create/alter tables, etc).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error establishing a database connection…’ is closed to new replies.