WordPress.org

Ready to get started?Download WordPress

Forums

install.php, database connection error (3 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Hi everyone,
    This is the message I get:
    We're having a little trouble selecting the proper database for WordPress.
    Are you sure it exists?
    Your database name is currently specified as ****_****. Is this correct?
    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?
    Well (unless it's a philosophical question :p ), yes, I'm sure my database exists. The database name on the error message is correct. I've read on another post the
    <?php
    $server='localhost';
    $user='***_***';
    $pass='*****';
    $pipe = mysql_connect ($server, $user, $pass);
    echo $pipe;
    ?>
    thing so I tested it and it works (message: Resource id #2. Something to do with the fact that my host will allow me to have two databases? Although I've only created one so far... )
    Thanks in advance

  2. carthik
    Member
    Posted 9 years ago #

    You may have to change the table prefix, perhaps...if you havent already. You don't have to have have two dbs for two blogs or apps, use the same db with different table prefixes (look in wp-config.php to change the prefix)

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    All right, I am a donkey, but you know, the only stupid questions are the ones you never dare to ask. I had to create the users first and then select a user from the list and grant permissions. (In case this should be of help to someone, my host is frandt.com).
    Anyways thank you so much for the reply !!! =)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.