Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Web design and Programming (https://novahq.net/forum/forumdisplay.php?f=32)
-   -   installing VB forum (https://novahq.net/forum/showthread.php?t=32168)

-Tigger- 01-02-2006 12:27 PM

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

katana*GFR* 01-02-2006 01:17 PM

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?

zaitsev 01-03-2006 10:21 AM

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 ';

-Tigger- 01-03-2006 11:10 AM

thanks m8, got it all sorted :)

katana*GFR* 01-03-2006 01:31 PM

thats what i meant. Good luck BB


All times are GMT -5. The time now is 10:37 AM.

Powered by vBulletin®