Hallo Freunde,
ich habe meine Seite runiniert. So siehts jedenfalls im Moment aus. Was ist passiert.
Kürzlich bemerkte ich, dass nach Installation des Plugins "readers posts" eine Tabelle angelegt wird namens "post_count_datetime" worin JEDER Klick auf einen post/seite etc. mit dem kompletten Timestamp abgelegt wird. Nach 3 Wochen kamen da ca. 18.000 Einträge zusammen.
Im Strato phpmyadmin ließen die sich aufgrund des timeouts nicht per Hand löschen. Deshalb exportierte ich die DB und spielte sie auf meinen lokalen xampp Server. Alles kein Thema. Dort löschte ich die überflüssigen Inhalte.
Im nächsten Schritt exportierte ich die lokale DB als .sql File (MYSQL 4.0 Kompatibel) und wollte sie im Stratobackend einspielen.
OHNE Erfolg.
Diese Fehlermeldung kommt immer:
[B]SQL-Befehl:[/B]
-- phpMyAdmin SQL Dump
-- version 2.10.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 21. Oktober 2007 um 12:40
-- Server Version: 5.0.41
-- PHP-Version: 5.2.2
--
-- Datenbank: 'homepage'
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle 'wp_comments'
--
CREATE TABLE wp_comments(comment_ID bigint( 20 ) unsigned NOT NULL AUTO_INCREMENT ,
comment_post_ID int( 11 ) NOT NULL default '0',
comment_author tinytext NOT NULL ,
comment_author_email varchar( 100 ) NOT NULL default '',
comment_author_url varchar( 200 ) NOT NULL default '',
comment_author_IP varchar( 100 ) NOT NULL default '',
comment_date datetime NOT NULL default '0000-00-00 00:00:00',
comment_date_gmt datetime NOT NULL default '0000-00-00 00:00:00',
comment_content text NOT NULL ,
comment_karma int( 11 ) NOT NULL default '0',
comment_approved enum( '0', '1', 'spam' ) NOT NULL default '1',
comment_agent varchar( 255 ) NOT NULL default '',
comment_type varchar( 20 ) NOT NULL default '',
comment_parent bigint( 20 ) NOT NULL default '0',
user_id bigint( 20 ) NOT NULL default '0',
comment_pid_ID varchar( 10 ) NOT NULL default '',
PRIMARY KEY ( comment_ID ) ,
KEY comment_approved( comment_approved ) ,
KEY comment_post_ID( comment_post_ID )
) TYPE = MYISAM AUTO_INCREMENT =83
[B]MySQL meldet: [/B][URL="http://dev.mysql.com/doc/mysql/en/Error-returns.html"][IMG]http://phpmyadmin.strato.de/themes/strato/img/b_help.png[/IMG][/URL]
#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 '-- phpMyAdmin SQL Dump
-- version 2.10.1
-- [url=http://www.phpmyadmin.net]phpMyAdmin | MySQL Database Administration Tool | www.phpmyadmin.net[/url]
--
-- ' at line 1
Alles anzeigen
Was ist denn in "line 1"?
Muss ich beim Export wichtige Häkchen machen?
Bitte um Hilfe, denn ich bin ziemlich ratlos.
Doc