Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Getting error while importing .sql file in phpMyAdmin please help.

Error
SQL query:

CREATE TABLE  `sbbleads_admin` (
 `sb_id` BIGINT( 20 ) NOT NULL AUTO_INCREMENT ,
 `sb_admin_name` VARCHAR( 255 ) DEFAULT NULL ,
 `sb_pwd` VARCHAR( 255 ) DEFAULT NULL ,
 PRIMARY KEY (  `sb_id` )
) TYPE = MYISAM ;

MySQL said: Documentation

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 'TYPE=MyISAM' at line 6

share|improve this question

1 Answer 1

TYPE should be ENGINE

CREATE TABLE  `sbbleads_admin` (
 `sb_id` BIGINT( 20 ) NOT NULL AUTO_INCREMENT ,
 `sb_admin_name` VARCHAR( 255 ) DEFAULT NULL ,
 `sb_pwd` VARCHAR( 255 ) DEFAULT NULL ,
 PRIMARY KEY (  `sb_id` )
) ENGINE = MYISAM ;
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.