? Getting Data in and out of Tables Quickly menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Tritan's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ? Getting Data in and out of Tables Quickly

    I've searched and haven't found the solution to this... despite it being probably very simple...

    Say i'm creating a custom armor set - i need to be able to copy that particular set of rows out of the database (and into a text doc or something) so that when there is a wipe, i can easily insert them back into the items table of the new database.

    I know how to copy a chunk of rows, but i'm not sure how to paste that data back in to the database...

    For some reason (sure, call me an idiot :/ ) i still haven't found the solution...

    I'm using Navicat, but i'm on the free trial so i'll have to end up switching to another program later. Hopefully there's a way to do this that doesn't require Navicat.

    ? Getting Data in and out of Tables Quickly
  2. #2
    Greeko's Avatar Banned
    Reputation
    47
    Join Date
    Feb 2008
    Posts
    366
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do you mean? Be little more specific.

  3. #3
    waymirec's Avatar Member
    Reputation
    49
    Join Date
    Jan 2008
    Posts
    155
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just use the mysqldump cli command. If, for example, the entry #'s of your custom items were 100 - 150 you could do

    Code:
    mysqldump -n -c -t --skip-opt --where="`entry` between 100 and 150" <dbname> items > custom_items.sql
    Than when you want to reinsert them into a new db you just

    Code:
    mysql -u <user> -p<password> <dbname> items < custom_items.sql

  4. #4
    Tritan's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by waymirec View Post
    Just use the mysqldump cli command. If, for example, the entry #'s of your custom items were 100 - 150 you could do

    Code:
    mysqldump -n -c -t --skip-opt --where="`entry` between 100 and 150" <dbname> items > custom_items.sql
    Than when you want to reinsert them into a new db you just

    Code:
    mysql -u <user> -p<password> <dbname> items < custom_items.sql

    hm.. considering i am a complete SQL nub... how would i go about doing this then -
    how would i use this code?

  5. #5
    waymirec's Avatar Member
    Reputation
    49
    Join Date
    Jan 2008
    Posts
    155
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I assume you are running Windows. Just open a dos prompt and run the commands as I typed them above. If the mysql executables are not in your Path you will need to either change directory to where they are or supply the full path name when running it. Pretty standard Windows stuff....

Similar Threads

  1. Okay get free gamecards and bc key
    By ldatballa1 in forum WoW Scam Prevention
    Replies: 9
    Last Post: 08-14-2007, 08:17 PM
  2. Data Folder and Patches
    By Herzeleid in forum World of Warcraft General
    Replies: 1
    Last Post: 07-14-2007, 10:11 AM
  3. Get Twink loot and other GOOD loot in NOTIME!
    By Nolixz in forum World of Warcraft Guides
    Replies: 30
    Last Post: 02-25-2007, 03:25 PM
  4. LOL! IF gaurd going in and out of old IF
    By idusy-org in forum World of Warcraft General
    Replies: 3
    Last Post: 08-19-2006, 11:41 PM
  5. Video, get under ogrimmar and on the wall
    By HumanWarrior in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 06-04-2006, 09:43 AM
All times are GMT -5. The time now is 08:51 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search