Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default MySql 4 Upgrade to MySql 5

    Hey all i just wanted to check if there were any known issues from upgrading MySql from:

    MySql - 4.1.22

    to:

    MySql - 5

    Zen Cart Version: 1.3.8a

    Basically i want to know if this upgrade is liable to knock something out in zencart and if so what and also how i can either prevent or protect from this happening.

    regards

    Andy.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: MySql 4 Upgrade to MySql 5

    Far as I know, as long as you're using 1.3.8a, you're good. It's the earlier Zencart versions that had issues with PHP5.

  3. #3
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: MySql 4 Upgrade to MySql 5

    Might i need to apply a mysql patch?

    regards

    Andy.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: MySql 4 Upgrade to MySql 5

    Zen Cart 1.3.8a should be fine with MySQL 5.

    Be sure to have good backups before upgrading, just in case something goes amuck during the mysql upgrade.
    .

    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.

  5. #5
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: MySql 4 Upgrade to MySql 5

    Hey guys, well we tried to upgrade over the weekend, a nice early wakeup of 4:00am *yawn*

    and like most things it broke .

    although the update was successful it would appear some of the modules we have installed still use the old way of doing Left Joins.

    an example of the code (this is not the exact code because at 4am i wasn't thinking and forgot to nab the error message, but it gives you an idea):

    Code:
    mysql> select * from categories c, categories_description cd left join categories_description cd2 ON (c.parent_id = cd2.categories_id and cd2.language_id = '1') where c.categories_id = cd.categories_id and cd.language_id = '1';
    
    ERROR 1054 (42S22): Unknown column 'c.parent_id' in 'on clause'
    So i guess the only thing to do is update all of the left join code so that it works on the newer syntax and then upgrade?

    or has anyone got any other suggestions.

    Andy.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: MySql 4 Upgrade to MySql 5

    Quote Originally Posted by Andy_GS View Post
    So i guess the only thing to do is update all of the left join code so that it works on the newer syntax and then upgrade?
    As far as your addons go, yes, that's probably the best approach.
    .

    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.

  7. #7
    Join Date
    Sep 2009
    Location
    Ontario, Canada
    Posts
    13
    Plugin Contributions
    0

    Default Re: MySql 4 Upgrade to MySql 5

    It would be nice if they could update the installation pop-up for this issue:

    http://localhost/zencart/zc_install/...?error_code=90

    for future newbies who have a conniption regarding this issue like I did. It's hard enough to install without knowing if things like these are an issue or not.

    Furthermore, would it not hurt for the php.ini file to be modified (for the curl line to be activated) on a localhost installation? That one was a real bugger too.

    I also hated the fact that I had to install XAMPP 1.7.2, only to find out I had to start over with XAMPP 1.7.1

    OK. I'm done ranting.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 13 Dec 2014, 04:48 AM
  2. v150 Backup MYSQL Plugin 2005: Unknown MySQL server host 'localhost:3306' (1)
    By nuganics in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 10 Mar 2012, 08:09 AM
  3. Problems with manually upgrading MySQL 4 to MySQL 5
    By 2004g35 in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 29 Oct 2009, 02:15 AM
  4. Dreaded mYSQL 1064 error when importing MySQL 4 database into MySQL5
    By dml311071 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jun 2008, 05:38 AM
  5. find/replace (sub)strings in zen's mysql-DB (mysql syntax question)
    By mypashop in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 19 Oct 2007, 02:21 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