Forums

can't select database (3 posts)

  1. minimax
    Member
    Posted 3 years ago #

    sorry,
    another database question, but i have no idea. i'm getting the following error message, when i try to open /wp-admin/install.php in my browser:

    "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 usr_web_489_1 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?"

    i'm sure the database exists. it automatically gets the name usr_web_489_1 from my host.
    --------------------------------
    the following are the information in my wp-config-php file:

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'usr_web_489_1'); // The name of the database
    define('DB_USER', 'web489'); // Your MySQL username
    define('DB_PASSWORD', '******'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    where is the error? many thanks for your answer!!!

    simon

  2. moshu
    Member
    Posted 3 years ago #

    1. Never ever post your password in a public place like this (replaced with ***)
    2. The error message is quite clear: there is no database with the name you put it in the file.

  3. lcjordan
    Member
    Posted 2 years ago #

    I have the same error. I know the database is there, since I can work with it in the MySql admin panel.

    I'll create another database and try that, when my host raises my database limit.

Topic Closed

This topic has been closed to new replies.

About this Topic