VB Installation Problem

haxor

New Member
ok iam trying to install a vbulletin forum and i get this error on the second step


Step 2) Connect to the database

Attempting to attach to database

Error description: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /home/vol1/bighosted.com/big_2806213/htdocs/includes/class_core.php on line 311

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.
 
open include/config.php and edit

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'] = '[color=Red](Add you Database name here)[/color]';

Code:
	//	****** TABLE PREFIX ******
	//	Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '[color=Red](Add you table prefix here)[/color]';

Code:
	//	****** 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'] = '[color=red](Add you email address here)[/color]';

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'] = '[color=red](add the database username here)[/color]';
$config['MasterServer']['password'] = '[color=red](add the data base password here)[/color]';


Edit the red bits in your include/config.php file.
 
yay ty for the help and i forgot to create a DB in the website hosting service thats why it didnt work but thanks for your help!
 
Back
Top