*1064 Syntax Fehler beim Importieren - finde keinen Fehler

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

*1064 Syntax Fehler beim Importieren - finde keinen Fehler

Postby Scubarpro » 05. April 2016 17:13

He Leute,

ich bin gerade dabei für meinen neuen Onlineshop eine lokale Testumgebung einzurichten. Ich nutze dafür XAMPP. Apache, MySQL und IonCube laufen auch alles mittlerweile.
Ich habe aber noch Probleme meine vorhandenen SQL Liste vom Shop einzuspielen. Ich bekomme immer folgende Fehlermeldung

Ich kenne mich leider auch nicht besonders gut mit phpMyAdmin aus. Der Syntaxfehler #1064 ist ja kein unbekannter Fehler- vielleicht kann mir jemand sagen, an welcher Stelle ich die SQL Liste modifizieren muss damit die Liste problemlos eingefügt werden kann.

Die Datei wurde auf dem Server komprimiert als .zip und Datenbanksystem oder älterer MySQL-Server für DB2 exportiert.

Folgende XAMPP & Co sind installiert.
10.1.10 MariaDB
Apache 2.4.17
PHP 5.6.19
phpMyAdmin 4.5.1

Folgende Versionen werden auf den Live Server verwendet
-- phpMyAdmin SQL Dump
-- version 4.5.5
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Erstellungszeit: 05. Apr 2016 um 17:49
-- Server-Version: 10.0.24-MariaDB
-- PHP-Version: 5.6.14


Fehler
Statische Analyse:

2 Fehler wurden während der Analyse gefunden.

Unerwartete schließende Klammer. (near ")" at position 430)
Eine schließende Klammer wurde erwartet. (near ")" at position 430)
SQL-Befehl:

CREATE TABLE "s_multi_edit_backup" ( `id` int(11) UNSIGNED NOT NULL, `filter_string` text COLLATE utf8_unicode_ci NOT NULL COMMENT 'Filter string of the backed up change', `operation_string` text COLLATE utf8_unicode_ci NOT NULL COMMENT 'Operations applied after the backup', `items` int(255) UNSIGNED NOT NULL COMMENT 'Number of items affected by the backup', `date` datetime DEFAULT '0000-00-00 00:00:00' AS `COMMENT` )

MySQL meldet: Dokumentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AS `COMMENT`
)' at line 6



Der genannte SQL Befehl aus der Fehlermeldung steht so in der Liste
--
-- Tabellenstruktur für Tabelle `s_multi_edit_backup`
--

CREATE TABLE "s_multi_edit_backup" (
`id` int(11) UNSIGNED NOT NULL,
`filter_string` text COLLATE utf8_unicode_ci NOT NULL COMMENT 'Filter string of the backed up change',
`operation_string` text COLLATE utf8_unicode_ci NOT NULL COMMENT 'Operations applied after the backup',
`items` int(255) UNSIGNED NOT NULL COMMENT 'Number of items affected by the backup',
`date` datetime DEFAULT '0000-00-00 00:00:00' AS `COMMENT`
) ;

--
-- Daten für Tabelle `s_multi_edit_backup`
--

INSERT INTO `s_multi_edit_backup` (`id`, `filter_string`, `operation_string`, `items`, `date`, `size`, `path`, `hash`) VALUES
(1, 'ARTICLE.ID > 0', 'Article.active set 0\nPrice.price set 1.99\nPrice.basePrice set 14.99\n ', 186, '2016-02-07 10:39:35', 1818, '/var/www/XXX/www/htdocs/files/backup/me-backup-1454837975/me-backup-1454837975.zip', 'fff55757b17cb611484d1895dd26f4f5511f6df2'),
(2, 'ISMAIN', 'Article.active set 1', 228, '2016-03-18 07:39:12', 970, '/var/www/vhosts/XXX.de/httpdocs/files/backup/me-backup-1458283152/me-backup-1458283152.zip', '8e92000b59614886734e8e11a8815799f6848b30'),
(3, 'ISMAIN', 'Detail.active set 1', 228, '2016-03-18 07:59:26', 1063, '/var/www/vhosts/XXX.de/httpdocs/files/backup/me-backup-1458284366/me-backup-1458284366.zip', 'f68e2598ebaaa1f6b18c935bf02256963abd63bc'),
(4, 'ISMAIN', 'Article.notification set 1', 203, '2016-04-01 22:56:32', 901, '/var/www/vhosts/XXX.de/httpdocs/files/backup/me-backup-1459544192/me-backup-1459544192.zip', '2702e41340c398c40f633c88d155b54f0003fef9');

-- --------------------------------------------------------



Warum meckert den die SQL Liste beim importieren
Scubarpro
 
Posts: 1
Joined: 05. April 2016 16:55
XAMPP version: 5.6.19
Operating System: Windows 10

Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 44 guests