• Resolved ashtangaboy

    (@ashtangaboy)


    I’m on Dotster. What are the settings?

    I’m getting the error:
    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    Is ‘localhost’ the correct name for Dotster? I’m pretty sure the db_name and usernames are correct.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ashtangaboy

    (@ashtangaboy)

    After chatting with Dotster tech support, I found that the databases are differently named. Dotster falls into the 1% of WordPress installs that has to change DB_HOST in wp-config.php to this:
    define(‘DB_HOST’, ‘dbXXint.dotsterhost.com’); // 99% chance you won’t need to change this value

    where the XX is a number.
    Dotster users should use Control Panel and go to Hosting > Configuration & Administration > Web Space > Databases
    look for the database you set up & replace “localhost” with the string coming after Internal hostname: which should look like the string above.

    I’ll post a complete walkthrough for installing on Dotster, as I didn’t find one on Google & there is no FAQ help on Dotster.

    I am experiencing the typical Dotster database connection error. I have tried all the typical trouble shooting that is mentioned in this forum. I contacted Dotster and they confirmed my local host address.

    You mention that the string should look like this ‘dbXXint.dotsterhost.com’ the string I get does not start with db rather it is listed like this. ‘mssqlXXXint.dotsterhost.com’ Could this possibly be the problem.

    This is my first install. I’d love to get this running but I’m about ready to throw in the towel.
    Thanx Jy

    @dalefan…I host with Dotster as well. I got it figured out.

    @ashtangaboy is right, but the instructions are missing one more click. After you go to Hosting >Configuration & Administration > Web Space > Databases make sure you click on the database that you have set up to get to the next screen. Make sure you are in the ‘General’ tab (not ‘Users’ or ‘Access Hosts’) and look into the field called ‘Database Info’. The first field is ‘Browse Database Manager’ the second is ‘Id’, etc. You are looking for this:

    Internal Hostname: db977int.dotsterhost.com (of course your will have a different string after the ‘db’ so yours will be dbXXXint where ‘XXX’ is your unique DB name).

    Copy this, then past it into the ‘DB_HOST’ area in the wp-config.php as described above. So ultimately your line in that page will look like this:

    define(‘DB_HOST’, ‘db977int.dotsterhost.com’); // 99% chance you won’t need to change this value

    Save the file, upload…and you should be working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dotster install error: cannot contact DB’ is closed to new replies.