Announcement

Collapse
No announcement yet.

VB5 install error code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 '[email protected]'%' to database 'forums'


    http://www.ltci.co.uk/forums/core/install/install.php


    many thanks

    Ian

  • #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


    • #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


      • #4
        Originally posted by ianltc View Post
        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


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

          Comment


          • #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


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

              http://www.ltci.co.uk/forums

              /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


              • #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


                • #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


                  • #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


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

                      Ian

                      Comment


                      • #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


                        • #13
                          Originally posted by ianltc View Post
                          // ****** 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


                          • #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


                            • #15
                              Originally posted by ianltc View Post
                              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
                              https://www.vbulletin.com/forum/show...iles-in-1-step

                              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...
                              X