Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-02-2006, 12:27 PM
-Tigger- is offline -Tigger-
BB

Join Date: Jul 2003
Posts: 5,341

installing VB forum

im trying to install a VB forum to my website, i have all the files uploaded but obviously i have not set up something, on step 2 of 13 it says

Step 2) Connect to the database

Attempting to attach to database

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.

so obviously i havnt filled in the correct details in the config.php, i was wondering if anyone could help me with this as it looks complicated

i only want to set it up to see how it compares to the one im using at the minute
Reply With Quote
  #2  
Old 01-02-2006, 01:17 PM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
If i am right you have a part were it talks about database details.

It asks for 3 things, the database name, the database username, and a password.

Most of the time coders will have some remarks near it telling what to alter.
i dont have VB so i cannot get a example of it for ya. Maybe panther has it for ya?
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #3  
Old 01-03-2006, 10:21 AM
zaitsev is offline zaitsev
Registered User

Join Date: Jan 2004
Posts: 217

in your config file starting at line 22 (marked in red things you may need to change) below is the database part but there is other configable parts to the config file that you should look at

Quote:
// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$config['Database']['dbtype'] = 'MYSQL';

// ****** 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'] = 'DATABASENAME';

// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = 'tableprefix if you want one ';

// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = 'YOUREMAIL ';



// ****** MASTER DATABASE SERVER NAME ******
// This is the hostname or IP address of the database server.
// It is in the format HOST:PORT. If no PORT is specified, 3306 is used.
// If you are unsure of what to put here, leave it at the default value.
$config['MasterServer']['servername'] = 'localhost';

// ****** 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'] = 'Database Username ';
$config['MasterServer']['password'] = 'database password ';
Reply With Quote
  #4  
Old 01-03-2006, 11:10 AM
-Tigger- is offline -Tigger-
BB

Join Date: Jul 2003
Posts: 5,341

thanks m8, got it all sorted
Reply With Quote
  #5  
Old 01-03-2006, 01:31 PM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
thats what i meant. Good luck BB
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vB Forum Skin EDGE Sigs and Graphics 13 12-27-2009 12:59 AM
Asking for help with VB tail_gunner Web design and Programming 0 09-07-2007 12:12 AM
VB Book(s) DevilDog#1 Web design and Programming 6 09-30-2006 03:21 PM
vB forums .infamous. Web design and Programming 4 07-01-2005 03:47 PM
vB 2.3.7 _|()R|Z Feedback / Novahq.net Support 1 05-10-2005 02:38 PM


All times are GMT -5. The time now is 06:43 PM.




Powered by vBulletin®