Support » Installing WordPress » install.php, database connection error

  • 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
    $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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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)

    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
    Anyways thank you so much for the reply !!! =)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘install.php, database connection error’ is closed to new replies.