2016-10-28 2 views
-2

Dies ist der FehlerFehler upload .SQL-Datei von Wordpress-Site

1064 - Sie haben einen Fehler in Ihrer SQL-Syntax; Sie in die Bedienungsanleitung zu Ihrer MySQL-Server-Version für die richtige Syntax entspricht in der Nähe zu verwenden 'AS ical subscribe access key,

created_on Datetime DEFAULT NULL, `aktualisiert' in Zeile 20

Erreur requête SQL:

-- -------------------------------------------------------- 
-- 
-- Structure de la table `pec_calendars` 
-- 
CREATE TABLE `pec_calendars` (

`id` INT(11) UNSIGNED NOT NULL , 
`type` ENUM( 'user', 'group', 'url') DEFAULT 'user', 
`user_id` INT(11) UNSIGNED DEFAULT NULL , 
`name` VARCHAR(100) DEFAULT NULL , 
`description` TEXT, 
`color` VARCHAR(7) DEFAULT NULL , 
`admin_id` INT(11) DEFAULT NULL , 
`status` ENUM( 'on', 'off') DEFAULT 'on', 
`show_in_list` ENUM( '0', '1') DEFAULT NULL , 
`public` TINYINT(3) UNSIGNED DEFAULT '0', 
`reminder_message_email` TEXT, 
`reminder_message_popup` TEXT, 
`access_key` VARCHAR(32) DEFAULT NULL COMMENT AS `ical subscribe access key` , 
`created_on` DATETIME DEFAULT NULL , 
`updated_on` DATETIME DEFAULT NULL 
) ENGINE = INNODB DEFAULT CHARSET = utf8; 
+0

dankt Mann für Ihre Hilfe :) –

Antwort

1

Raten Sie Ihre Frage sein sollte:

CREATE TABLE pec_calendars 
    ( 
    id      INT(11) UNSIGNED NOT NULL, 
    type     ENUM('user', 'group', 'url') DEFAULT 'user', 
    user_id    INT(11) UNSIGNED DEFAULT NULL, 
    name     VARCHAR(100) DEFAULT NULL, 
    description   TEXT, 
    color     VARCHAR(7) DEFAULT NULL, 
    admin_id    INT(11) DEFAULT NULL, 
    status     ENUM('on', 'off') DEFAULT 'on', 
    show_in_list   ENUM('0', '1') DEFAULT NULL, 
    public     TINYINT(3) UNSIGNED DEFAULT '0', 
    reminder_message_email TEXT, 
    reminder_message_popup TEXT, 
    access_key    VARCHAR(32) DEFAULT NULL, 
    created_on    DATETIME DEFAULT NULL, 
    updated_on    DATETIME DEFAULT NULL 
) 
engine = innodb 
DEFAULT charset = utf8; 
+0

Jetzt habe ich die meisten Tabellen hochgeladen, aber ich habe einen anderen Fehler –

+0

Erreur requête SQL: - --------------------------- ----------------------------- - - Struktur der Tabelle 'wpt_2_commentmeta' - CREATE TABLE' wpt_2_commentmeta '( ' BIGINT (20) UNSIGNED NOT NULL meta_id', 'comment_id' BIGINT (20) UNSIGNED NOT NULL DEFAULT '0', ' meta_key' VARCHAR (255) COLLATE utf8mb4_unicode_ci NULL DEFAULT, 'meta_value' LONG COLLATE utf8mb4_unicode_ci ) ENGINE = MYISAM DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci; MySQL eine répondu: Dokumentation # 1273 - Unbekannt Sortierungs: 'utf8mb4_unicode_ci' –

+0

die Sortierung von utf8mb4/utf8mb4_unicode_ci zu utf8 ändern/utf8_general_ci –