how to install vb pls help?

Status
Not open for further replies.

davidk

New Member
Messages
20
Reaction score
0
Points
0
I got this problem:
Code:
Step 2) Connect to the database
 Attempting to attach to database
Connect failed: unexpected error from the database.
Error number: 1044
Error description: Access denied for user 'dxflw_divado'@'localhost' to database 'divado'
Please ensure that the database and server is correctly configured and try again.

and my config.php is this:
Code:
    //    ****** DATABASE TYPE ******
    //    This is the type of the database server on which your vBulletin database will be located.
    //    Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
    // for slave options just append _slave to your preferred database type.
$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'] = 'forum';

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

    //    ****** 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'] = 'dbmaster@example.com';

    //    ****** FORCE EMPTY SQL MODE ******
    // New versions of MySQL (4.1+) have introduced some behaviors that are
    // incompatible with vBulletin. Setting this value to "true" disables those
    // behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;



    //    ****** 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'] = 'dxflw_divado';
$config['MasterServer']['password'] = '********';

    //    ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
    //    This option allows you to turn persistent connections to MySQL on or off.
    //    The difference in performance is negligible for all but the largest boards.
    //    If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;

i have already created a MySQL Database from cPanel with the wizard
:nuts::lockd:
 
Last edited:

cowctcat

New Member
Messages
401
Reaction score
0
Points
0
The database name should be "dxflw_forum". The "dxflw" is automatically added to show whcih user the database belongs to. Also looking at your account information i would suggest that you upgrade your php version to intermediate.

also Please is spelled P-L-E-A-S-E
 
Last edited:

davidk

New Member
Messages
20
Reaction score
0
Points
0
ok a i make already new database name:dxflw_forum and user is dxflw_dxflw
but is still the problem there
 

hopper

Member
Messages
225
Reaction score
0
Points
16
did you put the correct password for your database user?
did you make sure that user had proper permissions to the database?
i know those seem obvious but sometimes the obvious are overlooked
 
Last edited:

davidk

New Member
Messages
20
Reaction score
0
Points
0
yes the passord is correct and the premisions is all checked
Edit:
$config['MasterServer']['username'] = 'dxflw_dxflw';
$config['MasterServer']['password'] = '+++++++';
 
Last edited:

hopper

Member
Messages
225
Reaction score
0
Points
16
also did you make sure to add the proper prefix to your database name, should be i think "your cpanel username"_database if im not mistaken
 

hopper

Member
Messages
225
Reaction score
0
Points
16
i think what he was trying to say is
Code:
$config['Database']['dbname'] = 'forum';
should be changed to
Code:
$config['Database']['dbname'] = 'dxflw_forum';
 

davidk

New Member
Messages
20
Reaction score
0
Points
0
ok my friend its works thank you very much for your time.
 
Last edited by a moderator:
Status
Not open for further replies.
Top