Failed Export?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Failed Export?

Postby oliwally » 24. May 2010 21:32

SOLVED - see below

I'm working on a Drupal site and have exported the sql using the configuration found at http://drupal.org/node/81993
All sweet - this has always worked for me.
However, when I now try to import this database, either in Linux or Windows, it fails. Message given is:
Code: Select all
#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 '
Fatal error: Allowed memory size of 8388608 bytes exhausted (trie' at line 1

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 560201 bytes) in /opt/lampp/phpmyadmin/libraries/export/sql.php on line 948


Am I assuming correctly that it is not the import that is the problem, but the export somehow didn't go well?

I have done this lots of times over the years and it's always worked. What am I doing wrong now?

I've spent hours trying - please help.

Using XAMPP 1.7.1 because my Drupal installation agrees with this better than more recent versions

PS - I speak German but it's a bit rusty. Feel free to reply in German. After 25yrs in Oz, English is easier :)
Last edited by oliwally on 25. May 2010 14:13, edited 1 time in total.
oliwally
 
Posts: 3
Joined: 24. May 2010 21:21

Re: Failed Export?

Postby Altrea » 24. May 2010 21:36

oliwally wrote:PS - I speak German but it's a bit rusty. Feel free to reply in German. After 25yrs in Oz, English is easier :)

Maybe its easier for you to post your thread in the english part of the board?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Failed Export?

Postby oliwally » 25. May 2010 12:48

No, please go ahead and reply in either language - I'm desperate.

Ohne hilfe komme ich nicht weiter. Ich habe keine ahnung was das Ploblem ist. Es hat immer funktioniert, und ohne dass ich etwas geaendert habe funktioniert's jetzt nicht mehr.
oliwally
 
Posts: 3
Joined: 24. May 2010 21:21

Re: Failed Export?

Postby Altrea » 25. May 2010 13:18

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 560201 bytes) in /opt/lampp/phpmyadmin/libraries/export/sql.php on line 948


Dies ist eine PHP-Fehlermeldung die entsteht, weil das in der php.ini festgelegte memory_limit überschritten wurde. Das Script bricht ab der eingestellten Grenze automatisch ab.
8388608 bytes sind 8MB, was ziemlich wenig ist (zum Vergleich: in der Standardkonfiguration von XAMPP 1.7.3 ist der Anfangswert auf 128MB gesetzt, bei XAMPP 1.7.1 waren es noch 32MB).

Da stößt du bei Exports schnell an die Speichergrenze.

Welche XAMPP-Version setzt du ein?

Kurzfristige Lösung des problems:
memory_limit in der php.ini anpassen (sofern das deine Hardware zulässt).
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Failed Export?

Postby oliwally » 25. May 2010 14:11

SOLVED!
Vielen Dank Altrea!

Auf deinen Hinweis habe ich nocheinmal nachgeguckt was mit meinem php.ini los ist - und ja, tatsaechlich, memory limit war zu klein. Ich fuehle mich wie ein Idiot!.... Wie oft habe ich da schoneinmal geguckt - aber diesmal war's irgendwie zu klein. :oops:

Ich habe mich auch durch das Wort 'export' verwirren lassen. Ich war mir nicht im klaren dass das php limit auch beim exportieren der database wichtig ist.

Na ja, au jeden fall ist jetzt alles heil.

Habe dann auch noch dieses gefunden was es ganz klaar macht: http://drupal.org/node/207036

Welche XAMPP-Version setzt du ein?


XAMPP 1.7.1 - weil das mit meiner Drupal installation besser hin haut.

For those who don't speak/read German - I didn't check my memory limits well enough!! Doh!!!
I applied all the settings found in the link listed above, and all was well - sigh....
oliwally
 
Posts: 3
Joined: 24. May 2010 21:21

Re: Failed Export?

Postby Altrea » 25. May 2010 15:50

Nichts zu Danken. Freut mich, dass ich dir helfen konnte :D
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 28 guests