[Any Version] Database Configuration for GoDaddy
100 Views Published 5 months, 1 week ago in vBulletin TipsIt 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: vBulletin only works on GoDaddy's Linux based servers. If you currently have a Windows based server, then you will need to contact GoDaddy to have them convert your account to Linux.
Get your GoDaddy Database Information.
Now you need to edit your config.php file.
Look for the following section of code:
Replace forum with the $dbname that you copied from above.
Look for this section of code:
Replace localhost with the value from $hostname copied above.
Finally look for this section of code:
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.
Tags: database, godaddy, server, vb, vbulletin
Please note: vBulletin only works on GoDaddy's Linux based servers. If you currently have a Windows based server, then you will need to contact GoDaddy to have them convert your account to Linux.
Get your GoDaddy Database Information.
- Go to www.godaddy.com and log in with your account ID and password.
- Click on My Account
- Click on Hosting Account List. This should open a new window.
- In the new window, click 'open' on your hosting account.
- Scroll down a bit and click on "MySQL"
- 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
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.
Description:
This example describes using PHP to connect to a MySQL Database on a Linux hosting account.
<?php
//Connect To Database
$hostname="mysql183.secureserver.net";
$username="username";
$password="your_password";
$dbname="username"; - 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:
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';Look for this section of code:
Code:
// ****** MASTER DATABASE SERVER NAME AND PORT ******
// 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;Finally look for this section of code:
Code:
// ****** MASTER DATABASE USERNAME & PASSWORD ******
// 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'] = '';Search
About This Entry
- You’re currently reading “[Any Version] Database Configuration for GoDaddy,” an entry on The Staff Lounge
- Published at 7.29.08 / 7pm
Related Entries
- Backup and Restore - The Staff Lounge
- Protecting Your Forums - The Staff Lounge
- vBulletin Security, Preventing Abuse by Malicious Users - AnnouncementsvBulletin Fans
Recent Entries
- Weblog Tools Collection: WordPress Theme Releases for 01/05 - Wordpress
- Weblog Tools Collection: Great Explanation Of Community - Wordpress
- vHoist : Garage / Car Showroom - vBulletin 3.7 Add-onsvBulletin Add-ons
Popular Resources
- Phorum-5.2.9a released (6 replies) - 12440 Views
- Phorum-5.2.8 final released (13 replies) - 5763 Views
- Phorum-5.2.9 released! Security Upgrade! (1 reply) - 2846 Views







No Responses to “[Any Version] Database Configuration for GoDaddy”
Please Wait
Leave a Reply