VB5 install error code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ianltc
    New Member
    • Sep 2008
    • 19

    VB5 install error code

    I'm trying to install vb5

    But i keep getting this error message does anyone have any idea?

    (1004) access denied for user 'ltcforum@'%' to database 'forums'





    many thanks

    Ian
  • Hartmut
    Senior Member
    • Nov 2007
    • 2870
    • 4.2.x

    #2
    Did you check if you entered the correct values for your database you want to use with vB5 in config.php? Looks like there are wrong parameters in config.php concerning your database connection.
    No private support, only PM me when I ask for it. Support in the forums only.

    Comment

    • ianltc
      New Member
      • Sep 2008
      • 19

      #3
      Thanks for the reply

      I was runnning vb 3.2

      upgrade to 3.8 no worries all worked fine

      However to upgrade to 5, my host had to change the server to one that would support php 5

      since then i've not been able to run 3.8 or 5

      Comment

      • Hartmut
        Senior Member
        • Nov 2007
        • 2870
        • 4.2.x

        #4
        Originally posted by ianltc
        Thanks for the reply

        I was runnning vb 3.2

        upgrade to 3.8 no worries all worked fine

        However to upgrade to 5, my host had to change the server to one that would support php 5

        since then i've not been able to run 3.8 or 5
        Did you copy the database too when moving the server?
        No private support, only PM me when I ask for it. Support in the forums only.

        Comment

        • ianltc
          New Member
          • Sep 2008
          • 19

          #5
          I backed the vb 3.8 database up, then deleted it ?

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            Your error message indicates that you're using the wrong information for the database forum.

            Are you sure your MySQL information is correct?

            Comment

            • ianltc
              New Member
              • Sep 2008
              • 19

              #7
              Thanks, i can only think i have only of these wrong then?

              Forum under maintenance Should you require any further details on the services LTC can offer please Contact Us.


              /home/d/b/b/2695/2695/

              Many thanks

              Ian



              // ****** Base URLs ******
              // The following settings all deal with the url of your forum.
              // If set incorrectly your site/software will not function correctly.
              // These urls should NOT include a trailing slash
              // This is the url and web path of your root vBulletin directory
              $config['baseurl'] = 'http://www.ltci.co.uk/forums';


              // This is the url and web based path to your core directory
              $config['baseurl_core'] = 'http://www.ltci.co.uk/forums/core';




              // This will only be used if you wish to require https logins


              // You will not need to change this setting most of the time.
              $config['baseurl_login'] = $config['baseurl'];


              // If you do wish to use https for login, uncomment this line
              // Then fill in your https url.
              //$config['baseurl_login'] = 'http://www.ltci.co.uk/forums';




              // ****** System Paths ******
              // These are the system paths and folders for your vBulletin files
              // This setting is for where your vbulletin core folder is
              $config['core_path'] = '/home/d/b/b/2695/2695/forums/core';


              // This setting allows you to change the name of the admin folder
              $config['admincpdir'] = 'admincp';


              // ****** Cookie Settings ******
              // These are cookie related settings.
              // This Setting allows you to change the cookie prefix
              $config['cookie_prefix'] = 'bb';

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 74172

                #8
                What does your /core/includes/config.php look like?
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment

                • ianltc
                  New Member
                  • Sep 2008
                  • 19

                  #9
                  // ****** 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 to the end of the database class.
                  // 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';


                  // ****** 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'] = '[email protected]';




                  // ****** 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.
                  //
                  // Note: If you are using IIS 7+ and MySQL is on the same machine, you
                  // need to use 127.0.0.1 instead of localhost
                  $config['MasterServer']['servername'] = 'ldb504.securepod.com';
                  $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'] = 'ianltc7';
                  $config['MasterServer']['password'] = 'alice123';


                  // ****** 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;






                  // ****** SLAVE DATABASE CONFIGURATION ******
                  // If you have multiple database backends, this is the information for your slave
                  // server. If you are not 100% sure you need to fill in this information,
                  // do not change any of the values here.
                  $config['SlaveServer']['servername'] = '';
                  $config['SlaveServer']['port'] = 3306;
                  $config['SlaveServer']['username'] = '';
                  $config['SlaveServer']['password'] = '';
                  $config['SlaveServer']['usepconnect'] = 0;






                  // ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
                  // This setting allows you to change the name of the folders that the admin and
                  // moderator control panels reside in. You may wish to do this for security purposes.
                  // Please note that if you change the name of the directory here, you will still need
                  // to manually change the name of the directory on the server.
                  $config['Misc']['admincpdir'] = 'admincp';
                  $config['Misc']['modcpdir'] = 'modcp';


                  // Prefix that all vBulletin cookies will have
                  // Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
                  $config['Misc']['cookieprefix'] = 'bb';

                  Comment

                  • acwatts
                    Senior Member
                    • Aug 2005
                    • 739
                    • 3.8.x

                    #10
                    Remove your passwords from that post, in fact change them now that you have posted them on here if they are the actual ones you are using.

                    Comment

                    • ianltc
                      New Member
                      • Sep 2008
                      • 19

                      #11
                      Sorry i should have put in my post that i had changed the passwords many thanks

                      Ian

                      Comment

                      • Hartmut
                        Senior Member
                        • Nov 2007
                        • 2870
                        • 4.2.x

                        #12
                        I would still bet that there is something wrong with the database information in that specific config.php file. Are you positive you got the correct informations from your provider?
                        No private support, only PM me when I ask for it. Support in the forums only.

                        Comment

                        • Merjawy
                          Senior Member
                          • Sep 2002
                          • 2613

                          #13
                          Originally posted by ianltc
                          // ****** 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.
                          //
                          // Note: If you are using IIS 7+ and MySQL is on the same machine, you
                          // need to use 127.0.0.1 instead of localhost
                          $config['MasterServer']['servername'] = 'ldb504.securepod.com';
                          $config['MasterServer']['port'] = 3306;
                          Are you using a remote MySQL server? Try leaving the values above as the default and see if that works for you. (localhost would be the default value)
                          To be or not to be... Where the hell is the question????
                          My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                          Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                          CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                          Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                          Comment

                          • ianltc
                            New Member
                            • Sep 2008
                            • 19

                            #14
                            Thanks i'll try that

                            Ian

                            - - - Updated - - -

                            • Error description: mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /home/d/b/b/2695/2695/public_html/forums/core/vb/database/mysqli.php on line 99
                            • 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.phpfile


                            these are now the error message i get now with leaving the default in?



                            - - - Updated - - -

                            I've checked with the host and these are the details

                            server: ldb504.securepod.com

                            data base name : forums

                            /home/d/b/b/2695/2695 (this is the address the host gave me)

                            /2695/public_html/forums/core/includes (this is the address i use to up load ftp)

                            Comment

                            • simonhind
                              Member
                              • Jan 2007
                              • 59
                              • 3.6.x

                              #15
                              Originally posted by ianltc
                              Thanks i'll try that

                              Ian

                              - - - Updated - - -

                              • Error description: mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /home/d/b/b/2695/2695/public_html/forums/core/vb/database/mysqli.php on line 99
                              • 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.phpfile


                              these are now the error message i get now with leaving the default in?



                              - - - Updated - - -

                              I've checked with the host and these are the details

                              server: ldb504.securepod.com

                              data base name : forums

                              /home/d/b/b/2695/2695 (this is the address the host gave me)

                              /2695/public_html/forums/core/includes (this is the address i use to up load ftp)
                              use this script


                              and put the script in /core/install

                              it does all the config settings for you, all you need to enter is the database details

                              Comment

                              Related Topics

                              Collapse

                              Working...