摘要:
set global innodb_large_prefix=1; set global innodb_file_format=BARRACUDA; -- auto-generated definition create table xxx_term ( id int auto_increment 阅读全文
摘要:
1、创建新表时设置ID自增: CREATE TABLE your_table_name ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(255), PRIMARY KEY (id) ); 2、为现有表添加自增ID: ALTER TABLE your_ta 阅读全文