Need Help Installing Vbulletin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrKramer
    New Member
    • Feb 2009
    • 25

    #16
    Did you edit the name of that Database in the config.pp like 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.
    [COLOR=Red]$config['Database']['dbname'] = 'forum';[/COLOR]
    
        //    ****** TABLE PREFIX ******
        //    Prefix that your vBulletin tables have in the database.
    $config['Database']['tableprefix'] = '';
    And did you change these?

    Code:
    //    ****** 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.
    [COLOR=Red]$config['MasterServer']['servername'] = '*****';
    [COLOR=Black]$config['MasterServer']['port'] = 3306;[/COLOR][/COLOR]
    
        //    ****** MASTER DATABASE USERNAME & PASSWORD ******
        //    This is the username and password you use to access MySQL.
        //    These must be obtained through your webhost.
    [COLOR=Red]$config['MasterServer']['username'] = '**1**';
    $config['MasterServer']['password'] = '**1**';[/COLOR]
    1= Username and Password you made in the Database , not the username and pass from the host.

    Comment

    • 0 Seo 0
      Member
      • Apr 2009
      • 48
      • 4.2.X

      #17
      Originally posted by MrKramer
      Did you edit the name of that Database in the config.pp like 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.
      [COLOR=Red]$config['Database']['dbname'] = 'here i put the datebase name of SQL';[/COLOR]
      
          //    ****** TABLE PREFIX ******
          //    Prefix that your vBulletin tables have in the database.
      $config['Database']['tableprefix'] = '';
      And did you change these?

      Code:
      //    ****** 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.
      [COLOR=Red]$config['MasterServer']['servername'] = 'here i put SQL Hostname';
      [COLOR=Black]$config['MasterServer']['port'] = 3306;[/COLOR][/COLOR]
      
          //    ****** MASTER DATABASE USERNAME & PASSWORD ******
          //    This is the username and password you use to access MySQL.
          //    These must be obtained through your webhost.
      [COLOR=Red]$config['MasterServer']['username'] = user name to log in SQL';
      $config['MasterServer']['password'] = passfor sql';[/COLOR]
      1= Username and Password you made in the Database , not the username and pass from the host.
      i already did that i read the guide 10x still can pass step 3.

      Comment

      • MrKramer
        New Member
        • Feb 2009
        • 25

        #18
        Code:
        //    ****** 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.
        [COLOR=Red]$config['MasterServer']['servername'] = 'here i put SQL Hostname';
        [COLOR=Black]$config['MasterServer']['port'] = 3306;[/COLOR][/COLOR]
        SQL Hostname ?

        Like
        Code:
        [COLOR=Red]$config['MasterServer']['servername'] = 'http://www.vbulletin.com/forum/';[/COLOR]
        or
        Code:
        [COLOR=Red]$config['MasterServer']['servername'] = 'forum';[/COLOR]

        *as Forum is the name of the Database

        Comment

        • Floris
          Senior Member
          • Dec 2001
          • 37767

          #19
          Make sure you have

          a) created a new empty mysql database

          b) created a new user for mysql database

          c) added a new password to this mysql user

          d) grant ALL on the user, to have access to that database (link user to that database).

          These are all things your hosting provider can provide for you, including the server host.

          $config['MasterServer']['servername'] = 'http://www.vbulletin.com/forum/';

          We are asking for "server name" , not the web site address , the forum path or the forum directory. But the mysql server. These are also details your hosting provider can provide for you.

          Comment

          • 0 Seo 0
            Member
            • Apr 2009
            • 48
            • 4.2.X

            #20
            thanks for the help everyone the tech help me already. i was doing it all wrong.

            Comment

            • BenzForums
              New Member
              • Apr 2009
              • 5
              • 3.8.x

              #21
              What did you do to fix it? I am having the same problem with GoDaddy.

              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/lib/mysql/mysql.sock' (2) /home/content/b/e/n/benzforums/html/forums/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.

              Comment

              • 0 Seo 0
                Member
                • Apr 2009
                • 48
                • 4.2.X

                #22
                Originally posted by BenzForums
                What did you do to fix it? I am having the same problem with GoDaddy.

                This is incorrect:

                $config['Database']['r1'] = 'forum';

                It should be:

                $config['Database']['dbname'] = 'r1';

                This is incorrect:

                $config['Database']['[email protected]'] = '[email protected]';

                It should be:
                config['Database']['technicalemail'] = '[email protected]';

                This username and password are incorrect as well.

                $config['MasterServer']['IPB'] = 'root';
                $config['MasterServer']['VBSEO'] = '';

                Should be:
                $config['MasterServer']['username'] = 'IPB';
                $config['MasterServer']['password'] = 'VBSEO';

                i think vb manual need to be update some user get confuse.

                Comment

                • DsmNikki
                  New Member
                  • Jun 2008
                  • 16

                  #23
                  dont know what im doing wrong

                  everything seems right but dunno i get this error when i start on step 2 of the install script

                  Error description: mysql_connect() [function.mysql-connect]: Access denied for user '******@'localhost' (using password: YES) /home1/janaserv/public_html/texas-dsm/forum/includes/class_core.php on line 311


                  please help

                  Comment

                  • DsmNikki
                    New Member
                    • Jun 2008
                    • 16

                    #24
                    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.

                    Comment

                    • copiertalk
                      Senior Member
                      • Oct 2005
                      • 851
                      • 3.7.x

                      #25
                      have you contacted your host to see what these values should be?

                      A simple phone call will save your hours of head aches.
                      www.Copiertalk.com - Everything Copier , Printer, Fax

                      Comment

                      • 0 Seo 0
                        Member
                        • Apr 2009
                        • 48
                        • 4.2.X

                        #26
                        i already install the forum the reason i got those error i was doing it wrong.


                        /

                        Comment

                        • Floris
                          Senior Member
                          • Dec 2001
                          • 37767

                          #27
                          Originally posted by 0 Seo 0
                          This is incorrect:

                          $config['Database']['r1'] = 'forum';

                          It should be:

                          $config['Database']['dbname'] = 'r1';

                          This is incorrect:

                          $config['Database']['[email protected]'] = '[email protected]';

                          It should be:
                          config['Database']['technicalemail'] = '[email protected]';

                          This username and password are incorrect as well.

                          $config['MasterServer']['IPB'] = 'root';
                          $config['MasterServer']['VBSEO'] = '';

                          Should be:
                          $config['MasterServer']['username'] = 'IPB';
                          $config['MasterServer']['password'] = 'VBSEO';

                          i think vb manual need to be update some user get confuse.
                          That is correct,


                          $string = 'value';

                          You have to change the value on the right of the equal sign, obviousliy one can't change the $string name. Since it's a :

                          "set this string with name $string to this value with 'value' "

                          Comment

                          • Floris
                            Senior Member
                            • Dec 2001
                            • 37767

                            #28
                            Originally posted by copiertalk
                            have you contacted your host to see what these values should be?

                            A simple phone call will save your hours of head aches.
                            I wrote this script:



                            To ask for the basic data, for fresh installs ..

                            generating a 3.7.x config.php file that can be used in 3.6, 3.7 and 3.8 releases.

                            (yes the certificate has expired, but it's still encrypted connection)

                            Comment

                            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                            Working...