Forums

Can't select database (2 posts)

  1. fikgirl
    Member
    Posted 4 years ago #

    I searched the forum and found a lot of the same problem, but no solutions.

    My website is here: http://www.thebumbargers.com or http://thebumbargers.com (depending on how updated your DNS servers are)

    I get the following error message:

    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 thebumba_wordpress database.

    * Are you sure it exists?
    * Does the user thebumba_wpress have permission to use the thebumba_wordpress 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 the part of the wp-config.php that I edited per instructions:

    // ** MySQL settings ** //
    define('DB_NAME', 'thebumba_wordpress');    // The name of the database
    define('DB_USER', 'thebumba_wpress');     // 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', '');

    The database exists, I created it in cpanel and then checked that it was there in PHPMyAdmin. There are no tables, but the database is there.

    The user, thebumba_wpress is assigned to the database thebumba_wordpress.

    Advice? Suggestions?

  2. fikgirl
    Member
    Posted 4 years ago #

    Never mind.

    For some reason, even though I clicked "Add User" in CPanel, and it was there last night, it wasn't today. I had to do it twice more and now the user is added (again).

Topic Closed

This topic has been closed to new replies.

About this Topic