Page 1 of 1

Problem beim Import

Posted: 2003-06-18 19:12
by zg0re
Ich muss nach einem crash meine db neu einspielen, aber jetzt habe ich ein problem: Beim Import über Phpmyadmin oder webmin (egal) zeigt er mir so einen fehler:

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 NULL
) TYPE=MyISAM'

Das Dump ist mit phpmyadmin erstellt auf mysql 4.0.12 jetzt hab ich 13 vielleicht liegt's daran...

So sieht der sql befehl aus, an dem es bislang hapert

CREATE TABLE confirmations(

id int( 11 ) NOT NULL default '0',
user_id int( 11 ) NOT NULL default '0',
CHECK char( 32 ) default NULL
) TYPE = MYISAM

Re: Problem beim Import

Posted: 2003-06-18 19:29
by oxygen
Da fehlt wohl das ; am Ende.

Re: Problem beim Import

Posted: 2003-06-18 19:44
by zg0re
Nee ist dabei, ist nur beim kopieren irgendwie abhanden gekommen

Re: Problem beim Import

Posted: 2003-06-19 19:52
by zg0re
Hab das Problem behoben, indem ich die Apostrophen entfernt habe :)