• Resolved dianasather1

    (@dianasather1)


    This is the error message that I get when I try to access the site:
    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 tomandje_tjcc database.

    Are you sure it exists?
    Does the user tomandje_wrdp2 have permission to use the tomandje_tjcc database?
    On some systems the name of your database is prefixed with your username, so it would be like username_tomandje_tjcc. Could that be the problem?
    ____________________________________________________________________________
    This site has been active since 2014 and I have not made any changes to the wp-config.php file.

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘tomandje_2’);

    /** MySQL database username */
    define(‘DB_USER’, ‘tomandje_wrdp2’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘xxxxxxx’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘127.0.0.1’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    password is obviously changed on this forum. Username is tomandje_wp2 and database name is tomandje_2. Can anyone tell me why it is trying to access tomandje_tjcc? I had that database, but am not using it.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • scsiraidguru

    (@scsiraidguru)

    Check to see if the hard drive is filled, that can cause issues.

    Thread Starter dianasather1

    (@dianasather1)

    OK they switched servers on me several months ago without telling me. Contacted support today, and they said my user in the mysql database was not pointed to the correct db. Asked them why it was OK before, and they didn’t know. However they fixed it, I got into wp-admin and updated everything. Now it is working like a charm!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change in Database’ is closed to new replies.