• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki Sales
    • Pre-Sales Questions
    • Database shenanigans

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 6 of 6

    Thread: Database shenanigans

    • Thread Tools
      • Show Printable Version
    1. February 3, 2010 #1
      Pottsy
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Pottsy is offline
      New Member
      Join Date
      February 3, 2010
      Location
      Leics, UK
      Posts
      3
      Rep Power
      0

      Database shenanigans

      I have a large-ish 3.8.4 forum, with mediawiki/vbwikipro on the side. My plan is to go to 4.0 eventually, but I need to sort the wiki out (and thought VaultWiki on 3.8.4 first might be a good idea).

      My vb and wiki databases are separate. But it appears you need all the tables in one database for the import. How to I reliably copy the tables from one db to the other, especially given both vb and mw have tables of the same name? Server is regular LAMP.

      TIA,
      Reply With Quote Reply With Quote

    2. February 3, 2010 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      I recommend backing up your MW database before attempting this, but you will have to rename your MediaWiki tables first:
      Code:
      RENAME TABLE
      oldname TO prefix_oldname,
      oldname2 TO prefix_oldname2,
      ...
      etc
      After this, you'll need to modify your LocalSettings.php file with your "prefix_".

      If you're a coder you should be able to generate a query for this fairly easily so you don't have to type it out manually. We are considering adding the capability to import wikis from a separate database in the future, but it currently has a low priority.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. February 3, 2010 #3
      Pottsy
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Pottsy is offline
      New Member
      Join Date
      February 3, 2010
      Location
      Leics, UK
      Posts
      3
      Rep Power
      0
      Thank you - I shall have a play. And are there any issues with the transfer of tables from one db to the other?
      Reply With Quote Reply With Quote

    4. February 3, 2010 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      The only issues are the added load on the server during the transfer, and the storage of the tables in the same database will add somewhat to the overhead. You will probably want to remove the cloned tables after the import.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. April 30, 2013 #5
      Pottsy
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      Pottsy is offline
      New Member
      Join Date
      February 3, 2010
      Location
      Leics, UK
      Posts
      3
      Rep Power
      0
      Pegasus,

      Do you offer a paid service to so this? My SQL skills are not up to it.

      To recap:

      One database (no prefix), mediawiki 1.11.1
      Another database (no prefix) vbulletin 3.8

      Desired end result:

      Just one database with vb and vaultwiki, with all the data imported from my mediawiki wiki.
      Reply With Quote Reply With Quote

    6. April 30, 2013 #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Yes, we offer a paid service to do imports. It's an addon service that you can buy from our Members area once you already have a license.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Keep getting database errors
      By iphoneclub in forum VaultWiki Questions
      Replies: 7
      Last Post: April 18, 2010, 8:31 PM
    2. Database Error
      By Blue6995 in forum VaultWiki Questions
      Replies: 1
      Last Post: April 4, 2010, 2:56 AM
    3. Database Errors
      By Big-k in forum VaultWiki Questions
      Replies: 1
      Last Post: December 22, 2009, 10:02 AM
    4. database error
      By mickknutson in forum VaultWiki Questions
      Replies: 1
      Last Post: October 6, 2009, 4:20 AM
    5. Database Error
      By mangus580 in forum VaultWiki Questions
      Replies: 5
      Last Post: November 6, 2008, 7:16 AM

    Tags for this Thread

    added, adding, after, any, appears, are, before, but, code, considering, database, don, easily, file, first, forum, from, future, generate, give, good, has, have, here, how, how to, idea, import, issues, lamp, large, load, mediawiki, name, need, one, only, other, out, php, play, prefix, recommend, regular, rename, same, separate, server, shenanigans, should, side, storage, tables, the, there, this, type, vaultwiki, wikis, will, with, you, your

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 4:09 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.