WordPress.org

Ready to get started?Download WordPress

Forums

database error, but I'm sure my config is correct (2 posts)

  1. jensp
    Member
    Posted 8 years ago #

    Greetings,

    I have created and dropped databases and users three times now,
    read the FAQ backwards and forwards, contacted my hosting provider
    to see if it's a hosting issue, but all to no avail.

    I continue to receive this database error, here:

    http://www.jensporup.com/blog/wp-admin/install.php

    here are my wp-config.php bits:

    // ** MySQL settings ** //
    define('DB_NAME', 'blog');
    define('DB_USER', 'wordpress');
    define('DB_PASSWORD', '******');
    define('DB_HOST', 'jensporupwordpress.db');

    This is hosted with http://www.nearlyfreespeech.net (great hosting company, by the way).

    They are running a distributed FreeBSD network, PHP 4.4.0, MySQL 4.1.13, WordPress 1.5 (my install, not theirs.)

    I don't any idea at this point, and I'm considering giving up on WordPress if this "five minute install" drags out any further.

    Ideas?

    Jens

  2. James
    Happiness Engineer
    Posted 8 years ago #

    Well, if the search function was working, I could point you to over a thousand threads (no kidding) dealing with this. Generally the reason is either incorrect values entered into wp-config.php or MySQL v4.1.7. Since you don't have MySQl v4.1.7, it must be "incorrect values entered into wp-config.php". So, please double-check. Do you have a database user named "wordpress" assigned to a database named "blog" with "******" as the password (yes, I know you censored it, but please double-check the password as well), and are you sure that "jensporupwordpress.db" is your database host? You may want to confirm the database host value with your hosting provider if it is not clearly evident in the server account managing software that they have provided you with. I'm also jumping to this conclusion because it is highly unlikely, in a shared hosting environment, that you would have been able to snag a database named "blog" and a user named "wordpress".

    This may help:

    http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User

Topic Closed

This topic has been closed to new replies.

About this Topic