Results 1 to 6 of 6

upgrade from oscommerce ms2 to oscdox 1.55

This is a discussion on upgrade from oscommerce ms2 to oscdox 1.55 within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; I have an existing site - no mods except coolmenu but its oscommerce ms2 and I have my new version ...

      
  1. #1
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default upgrade from oscommerce ms2 to oscdox 1.55

    I have an existing site - no mods except coolmenu but its oscommerce ms2 and I have my new version of the site without all the products.

    How can I upload the products - the ms2 version of easypopulate is different to the one on the new site - would be nice to be able to restore from old sites backup - any ideas?

    I could always move the columns in old easypopulate to new format in new sites easypopulate but maybe theres a more foolproof way?

    I would appreciate any help

    Joe

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    There is a perl script (mysqldiff.pl) in ALL versions of OSC (and MAX too) that you can "compare" 2 MYSQL databases (Such as your OLD database and a sample of the NEW database) and it will CREATE a Query (a diff file) that you can run on your OLD database to update ti to the NEW database format.

    The OTHER option is to use your EP to export your OLD item and a SAMPLE out of the NEW database then in Excel/Access format the OLD one to match the NEW one.

    Good Luck
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default

    How do you run the .pl script on a windows machine? and therefore when I run the program and get the diff file and update the old database I can then do a backup of the old db (now modified to look like new) and then restore the B/U over the top of the previous new db?

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    jloyzaga, you need to have perl installed on your windows system for it to run.

    Usually what I do is run mysqldiff comparing max and the old db. Then I take the sql batch script that is generated and run it on a copy of the old db.

    Then I export ALL data from the updated old DB to a batch script, except for the configuration data, and I write over/replace all data in the MAX db.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Anonymous
    Guest


    Default

    luckily I also want the config stuff too - what do you mean "export ALL data from the updated old DB to a batch script" ?

  6. #6
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Just to make it easier for the Windows PEOPLE - here is the SAME perl script - but is compiled as a Windows Command Line Binary file (perl is not required to run the file!!!)

    Click on the File Attachment in this message!

    Unzip the mysqldiff.exe it to where ever and "run" it to get the command summary(instructions). The orginal unchanged PERL script is included for copywrite reasons. If you distribute it you need to send BOTH files.

    Good Luck
    Attached Files Attached Files

Similar Threads

  1. Using OSCommerce 2.2 - Should I upgrade
    By markymrk22 in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 08-31-2005, 10:45 AM
  2. upgrade from oscommerce-2.2ms2
    By mckeen in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 06-23-2005, 06:20 PM
  3. New User to OSCDOX but frustrated with OSCommerce
    By Paycheck in forum osCommerce 2.2 Installation Help
    Replies: 9
    Last Post: 05-09-2004, 08:14 PM
  4. After installing OSCdox osCommerce Version I can't login to
    By larsonc in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 10-28-2003, 08:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •