No announcement yet.

Database Configuration for GoDaddy

  • Filter
  • Time
  • Show
Clear All
new posts

  • [Any Version] Database Configuration for GoDaddy

    It seems that more people have problems configuring vBulletin's config.php to work on GoDaddy's servers more than anything else. Here are the instructions on how to do that and get vBulletin installed as quickly as possible.

    Please note: We suggest that you use a linux hosting package on GoDaddy.

    Get your GoDaddy Database Information.
    1. Go to and log in with your account ID and password.
    2. Click on My Account
    3. Click on Hosting Account List. This should open a new window.
    4. In the new window, click 'open' on your hosting account.
    5. Scroll down a bit and click on "MySQL"
    6. This will present you a list of your databases. Under the 'Actions' column, there are 3 icons - click the left icon (should be a pencil icon), and a small window will appear with some information like this:
      MySQL Server Database Connection Settings

      This example describes using PHP to connect to a MySQL Database on a Linux hosting account.
      //Connect To Database
      Copy the $hostname, $username, and $dbname. You should know your password from when you created the DB, if not, contact GoDaddy to have the password reset.
    7. If you do not have any databases listed, you will need to create one and then go back to step 6 after it is created. Creating a database on GoDaddy's servers takes about an hour but could take more.

    Now you need to edit your config.php file.

    Look for the following section of code:
    //    ****** DATABASE NAME ******
    //    This is the name of the database where your vBulletin will be located.
    //    This must be created by your webhost.
    $config['Database']['dbname'] = 'forum';
    Replace forum with the $dbname that you copied from above.

    Look for this section of code:
    //    This is the hostname or IP address and port of the database server.
    //    If you are unsure of what to put here, leave the default values.
    $config['MasterServer']['servername'] = 'localhost';
    $config['MasterServer']['port'] = 3306;
    Replace localhost with the value from $hostname copied above.

    Finally look for this section of code:
    //    This is the username and password you use to access MySQL.
    //    These must be obtained through your webhost.
    $config['MasterServer']['username'] = 'root';
    $config['MasterServer']['password'] = '';
    Replace root with the $username value that you copied from above. Place your password between the single quotes (') to the right of the equal sign. Save this file and upload it to your server.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.