PDA

Просмотр полной версии : Импорт бд (.sql)


diznt
22.04.2009, 11:36
И так есть дамп делаю импорт этой бд в свою бд
он мне пишет в phpmyadmin

CREATE TABLE "altuseremail"(
"id"int( 11 ) NOT NULL ,
"userid"int( 11 ) NOT NULL DEFAULT '0',
"email"varchar( 50 ) NOT NULL DEFAULT '',
"sendnotifications"tinyint( 4 ) NOT NULL DEFAULT '1',
"sendinvoice"tinyint( 4 ) NOT NULL DEFAULT '1',
"support"tinyint( 4 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( "id" )
);



Ответ MySQL:
#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 '"altuseremail" (
"id" int(11) NOT NULL,
"userid" int(11) NOT NULL DEFAULT '0' at line 1

что делать? как импотировать бд?

geezer.code
22.04.2009, 11:47
CREATE TABLE altuseremail(
кавычки убери.

kfor
22.04.2009, 11:54
http://joomlaforum.ru/index.php?topic=61574.0

Глянь тут по моему решение твоей проблемы.

diznt
22.04.2009, 12:13
kfor, geezer.code спасибо справился