创建 table 时出现 Sqlite 自动递增错误

Sqlite Auto Increment Error while creating table

我正在尝试使用以下查询在 sqlite3 中创建 table

CREATE TABLE IF NOT EXISTS `accounts` (
    `id` int(11) NOT NULL AUTOINCREMENT,
    `username` varchar(50) NOT NULL,
    `password` varchar(255) NOT NULL,
    `email` varchar(100) NOT NULL,
    PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTOINCREMENT=2 DEFAULT CHARSET=utf8;

我遇到错误 Error: near "AUTOINCREMENT": syntax error

我们如何根据上面的查询解决并创建一个table?

提前致谢

来自sqlite AUTOINCREMENT doc section 3

Because AUTOINCREMENT keyword changes the behavior of the ROWID selection algorithm, AUTOINCREMENT is not allowed on WITHOUT ROWID tables or on any table column other than INTEGER PRIMARY KEY. Any attempt to use AUTOINCREMENT on a WITHOUT ROWID table or on a column other than the INTEGER PRIMARY KEY column results in an error.