Managed Server
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Mysql Fehler bei update einer xt 3.4 sql

    pixelpro

    • Neu im Forum
    • Beiträge: 2
    Mysql Fehler bei update einer xt 3.4 sql
    am: 31. August 2013, 14:08:29
    Hallo,
    als Newcomer versuche ich gerade meine alte sql, shop xt 3.4Sp1, über die Dateien im Imstaller up zu daten.
    Beim Import sql update_1.0.2.0_to_1.0.3.0 bekomme ich leider folgenden sql Fehler:
    SQL-Befehl:

    CREATE TABLE gls_country_to_postal(
    gls_countrychar( 2 ) NOT NULL default '',
    gls_postal_reference int( 11 ) NOT NULL default '0',
    PRIMARY KEY ( gls_country )
    ) TYPE = MYISAM DEFAULT CHARSET = latin1 COLLATE latin1_german1_ci;

    MySQL meldet:
    #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 DEFAULT CHARSET=latin1 COLLATE latin1_german1_ci' at line 5

    Auf meinem Server läuft aktuell php 5.2 -mysql 5.5

    Hat jemen einem Tip für mich, was jetzt zu tun ist ???
    Vielen Dank schonmal
    Christian

    Linkback: https://www.modified-shop.org/forum/index.php?topic=27502.0
    rechtstexte für onlineshop

    Modulfux

    • Experte
    • Beiträge: 3.590
    • Geschlecht:
    Re: Mysql Fehler bei update einer xt 3.4 sql
    Antwort #1 am: 31. August 2013, 14:13:01
    Mach daraus ganz einfach:
    Code: SQL  [Auswählen]
    CREATE TABLE gls_country_to_postal(
    gls_countrychar( 2 ) NOT NULL DEFAULT '',
    gls_postal_reference INT( 11 ) NOT NULL DEFAULT '0',
    PRIMARY KEY ( gls_country )
    ) ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE latin1_german1_ci;
     

    Gruß
    Ronny

    pixelpro

    • Neu im Forum
    • Beiträge: 2
    Re: Mysql Fehler bei update einer xt 3.4 sql
    Antwort #2 am: 31. August 2013, 15:03:22
    Super, vielen Dank!!!
    Ich hatte es 10 Minuten vorher beim Googlen gefunden. Hier im Forum.
    http://www.modified-shop.org/forum/index.php?topic=22761.0

    TYPE=MyISAM immer mit ENGINE=MyISAM ersetzen, ist dreimal in der Update Datei,
    jetzt geht das Update auch ohne Problem!!!

    Vielleicht mal im Core die sql datei geändert spreichern :)
    Obwohl bestimmt nicht mehr viele alte xt 3.4 unterwegs sind, so wie ich...

    Vielen Dank für die schnelle Hilfe!!!
    Christian
    Marktplatz - Eine große Auswahl an neuen und hilfreichen Modulen sowie modernen Templates für die modified eCommerce Shopsoftware
    3 Antworten
    2401 Aufrufe
    04. Februar 2015, 16:22:56 von voodoopupp
    2 Antworten
    3474 Aufrufe
    05. Januar 2012, 14:10:47 von koshiro
               
    anything