Im trying to set up a vbulletin forum on my website, but im getting some errors.
Im pretty sure im entering the correct values in the config.php file , but when I run the install i get this error:
Step 2) Connect to the database
Attempting to attach to database
Error description: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /home/.herald/thrike/thrike.com/forums/includes/class_core.php on line 279
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.
what could be wrong?
can I please confirm that i have entered these in correctly
// ****** 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'] = 'forums';
// ****** 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;
// ****** 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'] = 'xxxx';
$config['MasterServer']['password'] = 'xxxxxxx';
Am i correct in thinking this password and username is the one I get if I click on the "forums" database on the "manage msql databases£ tab