PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mysql will daten nicht importieren(charset=latin1)



boba
08.04.05, 19:43
Hallo,
ich versuche eine Datenbank die unter einem Windows xampp exportiert wurde unter einer native linux mysql 4.0.23 zu importieren, nur kriege ich folgende meldung:


ERROR 1064 at line 19: 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 'DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT

ist recht dringend und wichtig, kann mir jemand eine schnellen tip geben'?

thx

FRAD
08.04.05, 19:49
Wenn du mal mehr Infos rüberwachsen lässt, können wir auch helfen ;)

Wie lautet dein Befehl?

Ciao

boba
08.04.05, 19:52
mysql -u root bla_db < /media/usbdisk/Projekt/8_5/db/db.sql

in phpmyadmin genau diesselbe meldung,
ich mach grad mal nen update auf 4.1, da xampp anscheinend immter bleeding edge fährt.

Tocotac
08.04.05, 20:07
ERROR 1064 at line 19: 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 'DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT


war die mysql auf dem win-sys eine 4.1?

COLLATE=latin1_general_ci -> glaube erst ab ver. 4.1

boba
08.04.05, 20:15
laut der export datei:

Server Version: 4.1.8

ist mir auch erst nach posten des treads in kopf gekommen das in dem file doch noch mehr steht wie der sql code...