Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Posts
    412
    Plugin Contributions
    0

    Default Database Structure Differences?

    I've noticed some database structure differences between zc v155f (updated to v157) and straight v157. The differences are summarized below:
    1. Table admin_activity_log column: gzpost mediumblob NOT NULL in updated db, gzpost mediumblob in straight db
    2. Many tables: default charset utf8 in updated db, utf8mb4 in straight db
    3. Table admin_activity_log key: idx_severity_zen in updated db, not present in straight db
    4. Table expages_content key: ez_pages in updated db, idx_expages_content in straight db
    5. Table media_manager key: idx_media_name_zen (media_name) in updated db, ...(media_name (191)) in straight db
    6. Table whos_online key: idx_last_page_url_zen (last_page_url) in updated db, ...(last_page_url (191)) in straight db

    Are these structure differences important? Should the update to v157 db be modified to match the straight v157 db? Note that these differences are in the db structure, not data.

    Although I posted this under Mac Server installation, these differences should be present in all similar db updates, regardless of server.

    TIA,
    Dave

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: Database Structure Differences?

    I can explain #2. The default character-set for a new database is now utf8mb4. On the upgrade, your database's character-set was unchanged (utf8).

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Database Structure Differences?

    Quote Originally Posted by Dave224 View Post
    2. Many tables: default charset utf8 in updated db, utf8mb4 in straight db
    Quote Originally Posted by lat9 View Post
    I can explain #2. The default character-set for a new database is now utf8mb4. On the upgrade, your database's character-set was unchanged (utf8).
    You can use this converter when you're ready to convert your data to utf8mb4: https://github.com/zencart/utf8mb4-converter
    .

    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.

 

 

Similar Threads

  1. products database structure? How to?
    By robertm18 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 18 May 2011, 06:19 PM
  2. Is there any database differences between ZC1.38 and ZC 1.39
    By agelleen in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 15 Jun 2010, 10:09 AM
  3. Database structure changes?
    By stryker1 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 28 Apr 2010, 05:14 AM
  4. shipping differences???
    By ladiessymbol in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 Dec 2008, 01:35 PM
  5. Database Structure/Backup
    By lkzone in forum General Questions
    Replies: 4
    Last Post: 1 Apr 2008, 06:47 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR