Database Migration

Results 1 to 9 of 9
  1. #1
    Member DooDz22 is offline
    MemberRank
    Jul 2008 Join Date
    76Posts

    Database Migration

    1.Backup your existing database, MuOnline
    2.Now delete your MuOnline database(for renaming) and make a new database called "MuOnline2"
    3.Restore your back'd up database into MuOnline2 (Means your old database is now in MuOnline2)
    4.Create a new database named MuOnline and restore with the season 3 episode 2.bak
    5.Now rename these:
    in MuOnline2: MEMB_INFO, AccountCharacter, Character, MEMB_STAT, warehouse, VI_CURR_INFO
    Rename them to MEMB_INFO2, AccountCharacter2, Character2, MEMB_STAT2, warehouse2, VI_CURR_INFO2.
    6.Use the following menu in Enterprise Manager when you open tables in MuOnline2: All tasks -> Export data.
    Press Next twice, select New DB - MuOnline, Next twice, Select tables "MEMB_INFO, AccountCharacter, Character, MEMB_STAT, warehouse, VI_CURR_INFO", Next twice, Finish.
    7.Once your tables are completed with no errors. Run this query:

    PHP Code:
    Insert Into MEMB_INFO memb___idmemb__pwdmemb_namesno__numbpost_codeaddr_infoaddr_detatel__numbphon_numbmail_addrfpas_quesfpas_answjob__codeappl_daysmodi_daysout__daystrue_daysmail_chekbloc_codectl1_codeSelect MEMB_INFO2.memb___idMEMB_INFO2.memb__pwdMEMB_INFO2.memb_nameMEMB_INFO2.sno__numbMEMB_INFO2.post_codeMEMB_INFO2.addr_infoMEMB_INFO2.addr_detaMEMB_INFO2.tel__numbMEMB_INFO2.phon_numbMEMB_INFO2.mail_addrMEMB_INFO2.fpas_quesMEMB_INFO2.fpas_answMEMB_INFO2.job__codeMEMB_INFO2.appl_daysMEMB_INFO2.modi_daysMEMB_INFO2.out__daysMEMB_INFO2.true_daysMEMB_INFO2.mail_chekMEMB_INFO2.bloc_codeMEMB_INFO2.ctl1_code from MEMB_INFO2
    Insert Into AccountCharacter 
    (IdGameID1GameID2GameID3GameID4GameID5GameIDCSelect AccountCharacter2.IdAccountCharacter2.GameID1AccountCharacter2.GameID2AccountCharacter2.GameID3AccountCharacter2.GameID4AccountCharacter2.GameID5AccountCharacter2.GameIDC from AccountCharacter2 
    Insert Into Character 
    (AccountIDNamecLevelLevelUpPoint, Class, ExperienceStrengthDexterity,VitalityEnergyInventoryMagicListMoneyLifeMaxLifeManaMaxManaMapNumberMapPosXMapPosYMapDirPkCountPkLevelPkTimeMDateLDateCtlCodeDbVersionQuestSelect Character2.AccountIDCharacter2.NameCharacter2.cLevelCharacter2.LevelUpPointCharacter2.Class, Character2.ExperienceCharacter2.StrengthCharacter2.Dexterity,Character2.VitalityCharacter2.EnergyCharacter2.InventoryCharacter2.MagicListCharacter2.MoneyCharacter2.LifeCharacter2.MaxLifeCharacter2.ManaCharacter2.MaxManaCharacter2.MapNumberCharacter2.MapPosXCharacter2.MapPosYCharacter2.MapDirCharacter2.PkCountCharacter2.PkLevelCharacter2.PkTimeCharacter2.MDateCharacter2.LDateCharacter2.CtlCodeCharacter2.DbVersionCharacter2.Quest from Character2 
    Insert Into MEMB_STAT 
    memb___idConnectStatServerNameIPConnectTMDisConnectTMSelect MEMB_STAT2.memb___idMEMB_STAT2.ConnectStatMEMB_STAT2.ServerNameMEMB_STAT2.IPMEMB_STAT2.ConnectTMMEMB_STAT2.DisConnectTM from MEMB_STAT2
    Insert Into warehouse 
    AccountIDItemsMoneyEndUseDateDbVersionpwSelect warehouse2.AccountIDwarehouse2.Itemswarehouse2.Moneywarehouse2.EndUseDatewarehouse2.DbVersionwarehouse2.pw from warehouse2
    Insert Into VI_CURR_INFO 
    ends_dayschek_codeused_timememb___idmemb_namememb_guidsno__numbBill_SectionBill_ValueBill_Hour,Surplus_PointSurplus_MinuteIncrease_DaysSelect VI_CURR_INFO2.ends_daysVI_CURR_INFO2.chek_codeVI_CURR_INFO2.used_timeVI_CURR_INFO2.memb___idVI_CURR_INFO2.memb_nameVI_CURR_INFO2.memb_guidVI_CURR_INFO2.sno__numbVI_CURR_INFO2.Bill_SectionVI_CURR_INFO2.Bill_ValueVI_CURR_INFO2.Bill_HourVI_CURR_INFO2.Surplus_PointVI_CURR_INFO2.Surplus_MinuteVI_CURR_INFO2.Increase_Days from VI_CURR_INFO2 
    8.Test your accounts. If it's not done correctly restore your old database and refer back to the guide.

    Note: Items may not be kept.


    Credits:
    Milamber
    and his Friend


  2. #2
    Gyvastis gnomiux is offline
    MemberRank
    Apr 2006 Join Date
    LithuaniaLocation
    840Posts

    Re: [Guide]Database Migration

    Thanks, useful thing ;)

  3. #3
    Valued Member starmu is offline
    MemberRank
    Jul 2008 Join Date
    NEW YORKLocation
    108Posts

    Re: [Guide]Database Migration

    i know other ways. but when i do it.

    it will not create anymore accounts.

    it will not create anymore characters. ( stuck in creating a character screen )

  4. #4
    Novice bate_jello is offline
    MemberRank
    Jun 2007 Join Date
    3Posts

    Re: [Guide] Database Migration

    Very usefull info. 10x.

  5. #5
    Proficient Member deathtrancer is offline
    MemberRank
    Feb 2007 Join Date
    176Posts

    Re: [Guide] Database Migration

    IT wont work i cant crete a new data base naming Muonline when you delete the Moonline (original not the Muonline2) any other guide?

  6. #6
    TTeam harghita is offline
    MemberRank
    Apr 2007 Join Date
    Romainia/BufteaLocation
    203Posts

    Re: [Guide] Database Migration

    Verry useful thing man, thanks.

  7. #7
    Novice SharedNoobs is offline
    MemberRank
    Dec 2008 Join Date
    1Posts

    Re: [Guide] Database Migration

    can you give me guide how to make event in sql server my season3 ep1 have 3 databases MuOnline,Ranking and MuOnline_Event i trying to make a new database name Event can't restore the database have error tell me how to solve this problem... by "SharedNoobs" Email MSN:sharednoob.sanek@hotmail.com add me for helping thanks god bless to all ragezon users

  8. #8
    Enthusiast dudu357 is offline
    MemberRank
    Jun 2005 Join Date
    King-GunzLocation
    38Posts

    Re: Database Migration

    When I Do that, everything works perfectly, but after data transfer, NEWLY created character have hp and mana bug (65506 full mana with 18 points of mana). If I backup old db, everything comes back OK.

    This is totally awkward to me

  9. #9
    -( . ) ( . )- clerigz is offline
    MemberRank
    Mar 2012 Join Date
    1,365Posts

    Re: Database Migration

    Bro also the inventory items will be back too?



Advertisement