• Resolved rhubarb

    (@rhubarb)


    In the process of upgrading to the most current version of WordPress, I lost the files in my blog folder on my ftp before I could back it all up. So I uploaded the new version of WordPress in my blog folder where all my old files were stored. Now When I try to run the install, I get this error:

    We were able to connect to the database server (which means your username and password is okay) but not able to select the blog database.

    * Are you sure it exists?
    * Does the user rhubarb have permission to use the blog database?
    * 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?

    Here is my config file:

    define('DB_NAME', 'blog');    // The name of the database
    define('DB_USER', 'rhubarb');     // Your MySQL username
    define('DB_PASSWORD', '********'); // ...and password
    define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8')
    define('DB_COLLATE', '');
Viewing 1 replies (of 1 total)
  • Thread Starter rhubarb

    (@rhubarb)

    Nevermind. According to my host, the database has an underscore and suffix with it. Problem solved!

Viewing 1 replies (of 1 total)

The topic ‘Can’t Select Database’ is closed to new replies.