Announcement

Collapse
No announcement yet.

Error in Installation

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

  • Error in Installation

    Hi, I'm Italian.
    On my host I have the MySQL Version 5.5.40.
    I start the installation of vBulletin, but that, when the vB should create the tables, it give me this error:
    Code:
    Due to the following errors, the install/upgrade can not continue:
    • vBulletin 5 requires MySQL version 5.1.5 or greater. Your MySQL is version , please ask your host to upgrade.
    • Error description:
    • 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
    What can I do?

  • #2
    Ignore the MySQL version part if you have MySQL 5.5.

    The software is unable to connect to the database. You'll need to check the database credentials in the file /core/includes/config.php and make sure they are correct.

    These are the important fields:

    $config['Database']['dbname'] = 'forum';
    Change forum to whatever your database name is.

    $config['MasterServer']['username'] = 'root';
    Change root to the database username

    $config['MasterServer']['password'] = '';
    Enter the database password inside the '' marks.

    All other fields should be left as default, unless your database is on a separate server, in which case this will need changing:

    $config['MasterServer']['servername'] = 'localhost';
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.3 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Hi, and thanks for your response.
      So, I check all field that you tell me, but they are all correct.
      The error can be caused form the presence of "config.php.new" in the same folder where there is "config.php" ?
      (Sorry for my English).

      Comment


      • #4
        No, having both config.php.new and config.php will not cause issues. There error is definitely pointing to something wrong in the /core/includes/config.php file. Did you make sure to edit it using a plain text editor like notepad++? Using another editor could cause a BOM in the file (or save it "with BOM") and that would cause issues. If you edited it using a plain text editor and there isn't a BOM, then one of the entries in the config.php file is incorrect.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment


        • #5
          Ah, ok!
          No, I've used CodeRunner for MAC !
          Now I try to use Notepad++ on Windows.

          Comment


          • #6
            So, I've tryed to do how Lynne tells me, but don't change nothing

            Comment


            • #7
              The database credentials are wrong if you're getting that error.
              MARK.B | vBULLETIN SUPPORT

              TalkNewsUK - My vBulletin 5.6.3 Demo
              AdminAmmo - My Cloud Demo

              Comment


              • #8
                I tryed to install vB 4.2.2, with the same credentials that I've used for vB 5, and work.
                I can't understand why vB 5 doesn't work..

                Comment


                • #9
                  It does work. If the credentials are identical, then you've either made a mistake in the editing, or you've corrupted the file somehow.

                  I'd start again with a blank copy of config.php.new and rename it.

                  If there was a problem with the software causing this, we'd have hundreds of customers reporting it.
                  MARK.B | vBULLETIN SUPPORT

                  TalkNewsUK - My vBulletin 5.6.3 Demo
                  AdminAmmo - My Cloud Demo

                  Comment


                  • #10
                    I have compare the credentials of config.php of vB 4, with config.php of vB 5, but them are the same!
                    I start the installation and vB 5 give me the same error..

                    Comment


                    • #11
                      Please carry out what I suggested in post #9.
                      Also please ensure that the "other" config.php file (in the root) has been renamed from config.php.bkp to config.php.new. You don't need need to edit this file in any other way, but it does need renaming.

                      MARK.B | vBULLETIN SUPPORT

                      TalkNewsUK - My vBulletin 5.6.3 Demo
                      AdminAmmo - My Cloud Demo

                      Comment


                      • #12
                        Nothing to do
                        If i rename the config file in the root the browser give me an error in makeconfig.php file at the line 236.

                        The error on the version of the database can be caused by the fact that i did not put the path in the config.php file in the folder "core" ?

                        Comment


                        • #13
                          You don't need to alter any paths.

                          You should have two config files. One in the root, one in /core/includes.

                          Both need to be called config.php. By default one is called config.php.new and the other is called config.php.bkp. Both need to be renamed to config.php.
                          Then you need to edit the one in /core/includes, but you don't edit the one in the root.

                          If you are still having issues, then there is something wrong with your setup somewhere, and you'll need to raise a support ticket, with ftp access details included.
                          http://www.vbulletin.com/go/techsupport
                          MARK.B | vBULLETIN SUPPORT

                          TalkNewsUK - My vBulletin 5.6.3 Demo
                          AdminAmmo - My Cloud Demo

                          Comment


                          • #14
                            I really sorry for my stupidity !
                            I've change 'msqli' in 'mysql'.

                            With 'mysql' the installation didn't start, with 'mysqli' the installation start.

                            Thanks for the help Mark B. I took into account solely the fields that you told me and everything worked perfectly!
                            Thanks again!

                            Comment


                            • #15
                              Glad you got it sorted.

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X