Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2012
    Posts
    1
    Plugin Contributions
    0

    Default 1064 Error in SQL Syntax - old v.1.3.8 on new MySQL

    Hi,

    got a problem with finish installation of the zencart engine 1.3.8.
    I needed to downgrade the V.1.5 to 1.3.8. Installation preparation is without any problems.

    Now i got the following errror message:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1
    in:
    [CREATE TABLE upgrade_exceptions ( upgrade_exception_id smallint(5) NOT NULL auto_increment, sql_file varchar(50) default NULL, reason varchar(200) default NULL, errordate datetime default '0001-01-01 00:00:00', sqlstatement text, PRIMARY KEY (upgrade_exception_id) ) TYPE=MyISAM;]

    So i think that i only need to edit something in the mysql_zencart.sql. Also got the displayed error lines:

    DROP TABLE IF EXISTS upgrade_exceptions;
    CREATE TABLE upgrade_exceptions (
    upgrade_exception_id smallint(5) NOT NULL auto_increment,
    sql_file varchar(50) default NULL,
    reason varchar(200) default NULL,
    errordate datetime default '0001-01-01 00:00:00',
    sqlstatement text,
    PRIMARY KEY (upgrade_exception_id)
    ) TYPE=MyISAM;

    Does anybody know how to complete this installation. What do i need to edit?

    Thanks a lot

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

    Default Re: 1064 Error in SQL Syntax V.1.3.8

    Try changing TYPE to ENGINE.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,223
    Plugin Contributions
    11

    Default Re: 1064 Error in SQL Syntax V.1.3.8

    I'm concerned that you are downgrading to 1.3.8
    I can understand that one might have to downgrade to 1.3.9h due to a mod not working, but download to a version with known vulnerabilities?!?

    Brings back memories of -- Illegal bounds interrupt STOP

  4. #4
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: 1064 Error in SQL Syntax V.1.3.8

    Right.

    It's a bad idea to be downgrading to a version of Zen Cart that's designed for MUCH OLDER version of MySQL than what you're using on your server. And probably same with PHP.
    .

    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. Replies: 6
    Last Post: 1 Oct 2011, 03:16 PM
  2. Replies: 1
    Last Post: 25 Aug 2011, 05:58 AM
  3. Error with new install 1.3.9d 1064 error in SQL syntax
    By Joseph M in forum Installing on a Linux/Unix Server
    Replies: 21
    Last Post: 28 Jun 2010, 06:36 PM
  4. MySQL Error 1064 You have an error in your SQL syntax;
    By dmm2020 in forum General Questions
    Replies: 2
    Last Post: 22 Feb 2009, 05:02 AM

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