Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.