Problem beim Datenbankexport

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

Problem beim Datenbankexport

Postby Blackpearl » 13. September 2004 15:18

Hi Jungs,

ich hab meinen shop lokal vorbereitet auf meinem System und wollte ihn nun ins I-Net stellen.

Beim Datenbankexport bekomme ich folgenden hinweis:

Notice: Undefined index: CompressOnFly in C:\apachefriends\xampp\phpmyadmin\export.php on line 156



benutze xamp 1.4.3

Er exportiert zwar die Datenbank aber ich kann sie nicht importieren.

Auf dem Server erscheint dann folgende Meldung!

Fehler

Es scheint einen Fehler in Ihrer MySQL-Abfrage zu geben. Die MySQL-Fehlerausgabe, falls vorhanden, kann Ihnen auch bei der Fehleranalyse helfen.

ERROR: Unbekannte Interpunktion @ 5
STR: />
SQL: <br />
<b>Notice</b>: Undefined index: CompressOnFly in <b>C:\apachefriends\xampp\phpmyadmin\export.php</b> on line <b>156</b><br />
DROP TABLE IF EXISTS `address_book`

SQL-Befehl :


Notice: Undefined index: CompressOnFly in C:\apachefriends\xampp\phpmyadmin\export.php on line 156
DROP TABLE IF EXISTS `address_book`

MySQL meldet:


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 '<br />
<b>Notice</b>: Undefined index: CompressOnFly in <b>C:


Was kann ich da tun?
Blackpearl
 
Posts: 1
Joined: 13. September 2004 15:11

Postby Wiedmann » 13. September 2004 15:24

Was kann ich da tun?

Die Forumssuche benutzen...
http://community.apachefriends.org/f/viewtopi ... pressonfly

Nachtrag (Fehlersuche):
Das eigentliche Problem ist aber eine veraltete "config.inc.php" vom XAMPP.

Öffne mal die Datei "\xampp\phpmyadmin\config.inc.php" mit einem Editor (Achtung: UNIX-Zeilenumbruch) und suche die Zeilen:
Code: Select all
// For the export features...
$cfg['ZipDump']               = TRUE;   // Allow the use of zip/gzip/bzip
$cfg['GZipDump']              = TRUE;   // compression for
$cfg['BZipDump']              = TRUE;   // dump files


Da fügst du jetzt noch folgendes hintendran:
Code: Select all
$cfg['CompressOnFly']         = TRUE;   // Will compress gzip/bzip2 exports on
                                        // fly without need for much memory.
                                        // If you encounter problems with
                                        // created gzip/bzip2 files disable
                                        // this feature.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby CubaLibre » 15. September 2004 19:02

Trotzdem funktioniert das Importieren!

Du mußt nur das dump file mit nem Editor öffnen und die ersten Zeilen bis zum
DROP Table...

löschen, und dann importieren. Fertig.
CubaLibre
 
Posts: 25
Joined: 18. January 2004 01:35
Location: Weilburg


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 5 guests