What is wrong with my SQL here? #1089 - Incorrect prefix key

后端 未结 13 1922
迷失自我
迷失自我 2020-12-01 02:21
CREATE TABLE `table`.`users` (
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `username` VARCHAR(50) NOT NULL,
    `password` VARCHAR(50) NOT NULL,
    `dir` VARCHAR(         


        
13条回答
  •  悲哀的现实
    2020-12-01 03:22

    If you are using a GUI and you are still getting the same problem. Just leave the size value empty, the primary key defaults the value to 11, you should be fine with this. Worked with Bitnami phpmyadmin.

提交回复
热议问题