Ich benutzte zum dumping phpMyBackupPro, das klappt auch super!
Nur beim importieren mit dem Programm kommt folgender Fehler:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 44369877 bytes) in /opt/lampp/htdocs/phpMyBackupPro/import.php on line 91
Line 91 (und Umgebung):
- Code: Select all
// uncompress (g)ziped backup files
if (($comp=PMBP_file_info("comp","./".PMBP_EXPORT_DIR.$import_file))=="gzip") {
$lines=PMBP_ungzip("lines","./".PMBP_EXPORT_DIR.$import_file);
} elseif ($comp=="zip") {
$lines=PMBP_unzip("lines","./".PMBP_EXPORT_DIR.$import_file);
} else {
$lines=file("".PMBP_EXPORT_DIR.$import_file);
}
So was mir aufgefallen ist, ist das diese 8388608 Byte an 3 Stellen bei den Systemvariabeln in MySQL vorkommt:
bulk insert buffer size
innodb log buffer size
myisam sort buffer size
ich glaube dass, innodb und myisam nichts damit zutun haben...
bulk insert bleibt übrig: folglich habe ich versucht über eine my.cnf datei systemvariablen zu ändern diese sieht so aus:
- Code: Select all
[mysqld]
port=3306
socket=/opt/lampp/var/mysql/mysql.sock
set-variable = max_allowed_packet=10M
set-variable = bulk_insert_buffer_size=50M
Die max_all... wird geändert aber das andere nicht...
Könnt ihr mir vielleicht helfen??
DANKE!