Importing vB4 database to vB5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daveconz
    Member
    • Sep 2004
    • 79
    • 3.0.3

    Importing vB4 database to vB5

    I was running a vB4 forum when the server was upgraded to a new version of mySQL. Now the forum just throws a database error. If I purchase a new licence for vB5 will I be able to import and update the last backup I had from my vB4 forum? Thanks.
    dave.co.nz
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24325
    • 5.7.X

    #2
    You will need to run the upgrade script against the vB4 database to update it to vB5.
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • BirdOPrey5
      Senior Member
      • Jul 2008
      • 9613
      • 5.6.3

      #3
      What is the database error?

      It may be as simple as editing the config.php file and changing the line :

      Code:
      $config['Database']['dbtype'] = 'mysql';
      to

      Code:
      $config['Database']['dbtype'] = 'mysqli';
      (just adding an i at the end of mysql)

      You can still upgrade to VB5 but it's better to upgrade from a working install.

      If the database error is something like the thread table is missing, upgrading will not fix it.

      Comment

      • daveconz
        Member
        • Sep 2004
        • 79
        • 3.0.3

        #4
        I edited the config.php file as above and now get the error:

        Fatal error: Call to undefined function mysqli_init() in /path/to/includes/class_core.php on line 1346
        dave.co.nz

        Comment

        • Trevor Hannant
          vBulletin Support
          • Aug 2002
          • 24325
          • 5.7.X

          #5
          Ask your host to enable mysqli on your server.
          Vote for:

          - Admin Settable Paid Subscription Reminder Timeframe (vB6)
          - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

          Comment

          • daveconz
            Member
            • Sep 2004
            • 79
            • 3.0.3

            #6
            It was that simple! Done, all working again. Thanks so much. I'll still upgrade to vB5 but now I'll do it when I've got a bit of time, not in a hurried panic.
            dave.co.nz

            Comment

            Related Topics

            Collapse

            Working...