摘要:
问题描述:[HY000][1267] Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLIC for operation '=' 出现这种问题就是关联表的字符集不匹配 1.查看数据库 阅读全文
摘要:
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 阅读全文