Hallo Thomas,
das hört sich an, als wenn in der neuen Datenbank bereits Einträge drin
sind.
Versuche mal folgendes auf der neuen Maschine:
- erstelle einen Sicherungsdump der aktuell bestehenden, neu
eingerichteten Datenbank
- Danach aus der Datenbank alle Tabellen löschen
- Dann den Import übers Terminal starten, dabei sollte er die benötigten
Tabellen wieder anlegen und die daten dann auch importieren
Am 18.05.2012 12:22, schrieb Pahl, Thomas:
Hey,
das komprimieren war nicht schlecht funktioniert aber auch nicht, hier
die Meldung:
/#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 '<br /> <b>Fatal error</b>: Allowed memory size
of 134217728 bytes exhausted (tr' at line 1/
Ich hab jetzt auch mal die größere Datei mit dem Terminal probiert da
hab ich dann diese Meldung bekommen:
/root@OTRS01:/home/administrator/Downloads# mysql -u root -p otrs <
otrsdump.sql/
/Enter password:
ERROR 1062 (23000) at line 64: Duplicate entry '1' for key 'PRIMARY'/
So nach und nach hab ich keine Lust mehr -.-*
Gruß Thomas
*Von:*otrs-de-boun...@otrs.org [mailto:otrs-de-boun...@otrs.org] *Im
Auftrag von *Alex Heinrich
*Gesendet:* Freitag, 18. Mai 2012 11:47
*An:* User questions and discussions about OTRS.org in German
*Betreff:* Re: [otrs-de] Dump wieder einspielen
Hi,
ja die Größe ist da beschränkt. Schau doch mal nach, du kannst auch als
.zip exportieren und wieder importieren.
Gruß
Alex
*Von:*otrs-de-boun...@otrs.org <mailto:otrs-de-boun...@otrs.org>
[mailto:otrs-de-boun...@otrs.org] *Im Auftrag von *Pahl, Thomas
*Gesendet:* Freitag, 18. Mai 2012 11:43
*An:* User questions and discussions about OTRS.org in German
*Betreff:* Re: [otrs-de] Dump wieder einspielen
Hey Alex,
hast du auch deinen Export in kleinere Teile splitten müssen?
Bei mir meckert der Import wegen der Datei größe =(
Gruß Thomas
*Von:*otrs-de-boun...@otrs.org <mailto:otrs-de-boun...@otrs.org>
[mailto:otrs-de-boun...@otrs.org]
<mailto:[mailto:otrs-de-boun...@otrs.org]> *Im Auftrag von *Alex Heinrich
*Gesendet:* Freitag, 18. Mai 2012 10:34
*An:* User questions and discussions about OTRS.org in German
*Betreff:* Re: [otrs-de] Dump wieder einspielen
#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1
20090214-16:29]/ lenny main
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
# added
# general packages for lenny
deb http://http.us.debian.org/debian lenny main contrib non-free
deb-src http://http.us.debian.org/debian lenny main contrib non-free
by google.de
Gruß
Alex
*Von:*otrs-de-boun...@otrs.org <mailto:otrs-de-boun...@otrs.org>
[mailto:otrs-de-boun...@otrs.org] *Im Auftrag von *Pahl, Thomas
*Gesendet:* Freitag, 18. Mai 2012 10:30
*An:* User questions and discussions about OTRS.org in German
*Betreff:* Re: [otrs-de] Dump wieder einspielen
Ich kann auf meiner alten OTRS nichts mehr installieren -.-*
Hat wer die Änderungen im Kopf was ich an der source Liste änder muss
damit ich wieder was installieren kann?
Gruß Thomas
*Von:*otrs-de-boun...@otrs.org <mailto:otrs-de-boun...@otrs.org>
[mailto:otrs-de-boun...@otrs.org]
<mailto:[mailto:otrs-de-boun...@otrs.org]> *Im Auftrag von *Alex Heinrich
*Gesendet:* Freitag, 18. Mai 2012 10:27
*An:* User questions and discussions about OTRS.org in German
*Betreff:* Re: [otrs-de] Dump wieder einspielen
Hi,
den export auch .. da kannst du nämlich gleich als SQL INSERT Befehl
exportieren. Dies müsste mit der neuen SQL Version klappen, da es ja ein
SQL Befehl ist ;-)
z.B. so:
Gruß
Alex
*Von:*otrs-de-boun...@otrs.org <mailto:otrs-de-boun...@otrs.org>
[mailto:otrs-de-boun...@otrs.org] *Im Auftrag von *Pahl, Thomas
*Gesendet:* Freitag, 18. Mai 2012 10:17
*An:* User questions and discussions about OTRS.org in German
*Betreff:* Re: [otrs-de] Dump wieder einspielen
Hallo Alex,
also es handelt sich bei beiden otrs um 3.1.2.
Die Datenbank OTRS wurde mit der Webinstall angelegt und ist leer.
Hab mir schon gedacht das es an der MYSQL Version vllt liegt =(
Ich probier es jetzt auch mal mit phpmyadmin. Sollte ich hier auch den
Export auf der alten VM mit phpmyadmin machen oder langt hier der schon
vorhandene?
Mit freundlichen Grüßen
Thomas Pahl
*Von:*otrs-de-boun...@otrs.org <mailto:otrs-de-boun...@otrs.org>
[mailto:otrs-de-boun...@otrs.org]
<mailto:[mailto:otrs-de-boun...@otrs.org]> *Im Auftrag von *Alex Heinrich
*Gesendet:* Freitag, 18. Mai 2012 09:20
*An:* User questions and discussions about OTRS.org in German
*Betreff:* Re: [otrs-de] Dump wieder einspielen
Hallo Thomas,
du hast eine andere MySQL Server Version unter Squeeze. Ist der Dump von
der selben OTRS Version? Probiere mal ein Tool wie PHPmyAdmin zu
installieren und damit einen neuen Dump zu erzeugen und einzuspielen.
Bei mir hat das damit damals von Lenny auf Squeeze funktioniert. ( oder
lasse dir durch PHPMyAdmin ein SQL insert der Datenbank erzeugen, bei
dem er die Tabellen anlegt, falls diese noch nicht existieren )
Gruß Alex
*Von:*otrs-de-boun...@otrs.org <mailto:otrs-de-boun...@otrs.org>
[mailto:otrs-de-boun...@otrs.org] *Im Auftrag von *Pahl, Thomas
*Gesendet:* Freitag, 18. Mai 2012 09:13
*An:* User questions and discussions about OTRS.org in German
*Betreff:* [otrs-de] Dump wieder einspielen
Hallo Liste,
ich habe mir einen Dump von meiner alten OTRS VM erstellt (mysqldump –u
root –p otrs > otrs.sql)
Nun hab ich diese Datei von meinem Lenny auf den Squeeze Server gepackt
und will diese mit mysql –p –u root –p otrs < otrs.sql
einspielen. Ich werde dann nach dem rootpasswort gefragt und bekomme
direkt danach Syntax und diese Fehlermeldung angezeigt:
ERROR 1064 (42000) at line 1: 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 'mysql Ver 14.12 Distrib 5.0.51a, for
debian-linux-gnu (i486) using readline 5.2' at line 1
Weis jemand wo mein Fehler liegt?
Mit freundlichen Grüßen
Thomas Pahl
Stadt Lauda-Königshofen
Informations- und Kommunikationstechnik
Marktplatz 1
97922 Lauda-Königshofen
Tel.: 09343 / 501 102
Fax: 09343 / 501 100
Email: thomas.p...@lauda-koenigshofen.de
<mailto:thomas.p...@lauda-koenigshofen.de>
Internet: www.lauda-koenigshofen.de <http://www.lauda-koenigshofen.de>
------------------------------------------------------------------------
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de