Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Altered Database tables in 1.5.x?

    Hi all.

    What tables are changed between 1.3.9h and the latest version of 1.5.x?

    I ask because I want to build a fresh install of my site from scratch and when ready to go live I want to import products categories, orders etc

    Can anyone advise?

    Thanks

    Phil
    Phil Rogers
    A problem shared is a problem solved.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,440
    Plugin Contributions
    279

    Default Re: Altered Database tables in 1.5.x?

    WE NEVER RECOMMEND COPYING JUST A FEW SELECTIVE TABLES BETWEEN DATABASES!!!!!!

    That said, if you think you've got the expertise needed to do that safely, then you should simply run the zc_install "Database Upgrade" step on the old database before copying any data from it into the new site's database. That way the schema changes will be handled properly ... which appears to be the root question from your post.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Altered Database tables in 1.5.x?

    Well I guess what I'm asking is if none of the product/customer/order tables have changed then once I have a fresh install ill just drop the relevant table and I seer the old ones.

    But I'd need to know if this would work, I.e have this tables been changed in any way?
    Phil Rogers
    A problem shared is a problem solved.

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Altered Database tables in 1.5.x?

    Quote Originally Posted by philip937 View Post
    Well I guess what I'm asking is if none of the product/customer/order tables have changed then once I have a fresh install ill just drop the relevant table and I seer the old ones.

    But I'd need to know if this would work, I.e have this tables been changed in any way?
    No this won't work or it would be included in the upgrade instructions .. (see Dr Bytes post) Suggest following recommendations, do the upgrade and don't look for a shortcut.. There's no gain/upside to the path you are wanting to take.
    Last edited by DivaVocals; 8 Jan 2013 at 11:38 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Altered Database tables in 1.5.x?

    Quote Originally Posted by DivaVocals View Post
    No.. (see Dr Bytes post) Suggest following recommendations, do the upgrade and not looking for a shortcut..
    Well what I'm suggesting is far from a shortcut! The shortcut is upgrading an old database, I am suggesting using a new database and importing certain data!
    Phil Rogers
    A problem shared is a problem solved.

  6. #6
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Altered Database tables in 1.5.x?

    Quote Originally Posted by philip937 View Post
    Well what I'm suggesting is far from a shortcut! The shortcut is upgrading an old database, I am suggesting using a new database and importing certain data!
    Then you have your answer.. What you are suggesting is not recommended. The best way to update the database is by following the recommended upgrade path as per Dr Bytes post.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #7
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Altered Database tables in 1.5.x?

    What about old configuration entries for mods that are not compatible with 1.5.x that weren't supplied with uninstall SQL? Which by the way I think should be mandatory to provide for any mods in the download section.

    Fair enough ill give it a go with the old db and try and clean it up somewhat.
    Phil Rogers
    A problem shared is a problem solved.

  8. #8
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Altered Database tables in 1.5.x?

    Quote Originally Posted by philip937 View Post
    What about old configuration entries for mods that are not compatible with 1.5.x that weren't supplied with uninstall SQL? Which by the way I think should be mandatory to provide for any mods in the download section.

    Fair enough ill give it a go with the old db and try and clean it up somewhat.
    if you think you know enough to selectively upgrade your DB then you should be able to put together an uninstall script.. not sure which add-ons you're using but unless it's old, I don't know very many without an uninstall script.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #9
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Altered Database tables in 1.5.x?

    I said I could drop and insert tables on the proviso they are not altered in the new version. And I am capable of removing entries and creating a script I was merely suggesting we shouldn't have to and they should be included in the download.. Chill
    Phil Rogers
    A problem shared is a problem solved.

  10. #10
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Altered Database tables in 1.5.x?

    Quote Originally Posted by philip937 View Post
    I said I could drop and insert tables on the proviso they are not altered in the new version. And I am capable of removing entries and creating a script I was merely suggesting we shouldn't have to and they should be included in the download.. Chill
    Well we can go back and forth about all the things you should and shouldn't have to do.. That won't solve your problem.. Based on your post, you have an add-on that has no uninstall script.. So apparently you do have to do some work to remove the DB entries for these add-ons.. Here's what I suggest..


    1. Follow the upgrade instructions as Dr Byte advises.. (he is after all the BEST source of the correct method to do this)
    2. If your mods really do not have any kind of uninstall script, and you do not know how to back out the DB entries created by them, then you can check the support thread for your add-ons for options to remove the DB entries created by your add-ons..


    Good luck..
    Last edited by DivaVocals; 9 Jan 2013 at 12:17 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Extra database tables
    By kalastaja in forum General Questions
    Replies: 5
    Last Post: 23 Jan 2015, 04:32 PM
  2. Adding prefix to database tables
    By RyanKent in forum General Questions
    Replies: 3
    Last Post: 11 Sep 2011, 10:48 PM
  3. database _bak tables????
    By tlyczko in forum General Questions
    Replies: 4
    Last Post: 20 Jun 2011, 09:29 PM
  4. Create Database, Tables and Drop Database or Tables
    By elwood cordery in forum General Questions
    Replies: 3
    Last Post: 17 Aug 2009, 04:03 PM
  5. Database tables differing
    By nmcgowan in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 21 Nov 2007, 11:28 PM

Posting Permissions

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