I have a problem with my database. I have created the model and now I want to sync it with my database on my WAMP Server (local) but it keeps giving me an error. I searched for the cause of the error for several days. Since I cannot find the problem, I've decided to share it with you.
Message log:
Executing SQL script in server ERROR: Error 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 ') NULL DEFAULT NULL , n_category VARCHAR(45) NULL DEFAULT NULL , PRIMARY K' at line 3
CREATE TABLE IF NOT EXISTS `telo2p`.`d_category`
(
`idd_category` INT(11) NOT NULL AUTO_INCREMENT,
`f_sells` DOUBLE(11) NULL DEFAULT NULL,
`n_category` VARCHAR(45) NULL DEFAULT NULL,
PRIMARY KEY (`idd_category`)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
COLLATE = utf8_general_ci
SQL script execution finished: statements: 6 succeeded, 1 failed
Any advice about what I am doing wrong here?