Forums

[resolved] Can't select database (2 posts)

  1. sparkletack
    Member
    Posted 2 years ago #

    Yes, I know there are a dozen other posts on this subject, but none of them have helped -- most aren't even marked "resolved".

    I'm getting this infamous 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 santacruz_com_blog 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?

    The database absolutely does exist (I can see it listed in the MySQL database manager), and I have it spelled correctly in the wp-config.php file:

    define('DB_NAME', 'santacruz_com_blog');

    I note that there's an option to create ODBC connections in the MySQL manager, but don't even know what that means.

    Any suggestions would be appreciated

  2. sparkletack
    Member
    Posted 2 years ago #

    Argh.

    Never mind... I replaced "localhost" with my domain name and it worked like the proverbial charm.

Topic Closed

This topic has been closed to new replies.

About this Topic