I hope this is the right place to get help for my problem.
I am trying to install my forum (vbulletin 4.0). I have installed the files via ftp. I have also created a database in SQL via cPanel. I have located my config.php file and i need to modify it for my database. I thought i configured it correctly but when i go to install vbulletin it gives me this error:
Step 2) Connect to the database
Attempting to attach to database
Error description: mysql_connect() [function.mysql-connect]: Access denied for user 'MYDOMAINNAME'@'localhost' (using password: NO) /home/HOSTINGUSERNAME/public_html/includes/class_core.php on line 312
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.
I have made my database name: 'forums' .In the database name section should it be enterrred as forums? or as HOSTINGACCOUNT_forums?
I have made my username: 'user' . In the username section...should it be 'user' or 'HOSTINGACCOUNT_user'?
This is what my config.php file looks like:
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['user_forums'] = 'forum';
// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['user'] = 'root';
$config['MasterServer']['PASSWORD'] = '';
Thanks for your help
I am trying to install my forum (vbulletin 4.0). I have installed the files via ftp. I have also created a database in SQL via cPanel. I have located my config.php file and i need to modify it for my database. I thought i configured it correctly but when i go to install vbulletin it gives me this error:
Step 2) Connect to the database
Attempting to attach to database
Error description: mysql_connect() [function.mysql-connect]: Access denied for user 'MYDOMAINNAME'@'localhost' (using password: NO) /home/HOSTINGUSERNAME/public_html/includes/class_core.php on line 312
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.
I have made my database name: 'forums' .In the database name section should it be enterrred as forums? or as HOSTINGACCOUNT_forums?
I have made my username: 'user' . In the username section...should it be 'user' or 'HOSTINGACCOUNT_user'?
This is what my config.php file looks like:
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['user_forums'] = 'forum';
// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['user'] = 'root';
$config['MasterServer']['PASSWORD'] = '';
Thanks for your help
Comment