ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

GoDaddy Database Error

July 28, 2010 3:15pm

Subscribe [2]
  • #1 / Jul 28, 2010 3:15pm

    Brooks Seymore

    106 posts

    I’m attempting to migrate a development version of a client site to their production server, a GoDaddy hosting account on a Linux server.

    I know GoDaddy isn’t a recommended host and I’ve read of the trials and tribulations fellow ExpressionEngine developers have had with their servers but I’ve also read of successes.

    I’ve created a database via their PHPMyAdmin interface and imported the development version of the database. However, when I try to load the site in a browser I get this error:

    Database Error: Unable to select your database

    This is the relevant portion of my config.php file where DB_NAME is filler for the name of my database and 3XXXXXX is the database server number. All of the values were simply copied and pasted into my config file to prevent typos.

    $conf['db_hostname'] = "DB_NAME.db.3XXXXXX.hostedresource.com";
    $conf['db_username'] = "DB_USERNAME";
    $conf['db_password'] = "PASSWORD";
    $conf['db_name'] = "DB_NAME";

    Since others have been able to get ExpressionEngine to run on GoDaddy servers, is there a step I’m missing?

  • #2 / Jul 28, 2010 4:03pm

    Ingmar

    29245 posts

    No, that should be all that’s necessary. What version and build of EE are you using? Can you open .../system/expressionengine/utilities/dbtest.php fill in your db details and visit in a browser please?

  • #3 / Jul 28, 2010 5:03pm

    Brooks Seymore

    106 posts

    That’s what I figured.

    They’re running ExpressionEngine 1.6.8 Build 20091002.

    I’ve filled the db details into dbtest.php, loaded it into the browser and this was the result:

    A connection was established to your database server
    
    Your database was selected.
  • #4 / Jul 28, 2010 5:07pm

    Ingmar

    29245 posts

    That’s good. Check for typos and other errors, but these same values should then be working for EE, too. You might also consider upgrading to 1.6.9; it’s recommended.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases