Unsupported modify charset from latin1 to utf8mb4 #34008
Labels
component/charset
feature/accepted
This feature request is accepted by product managers
sig/sql-infra
SIG: SQL Infra
type/enhancement
The issue or PR belongs to an enhancement.
Working Progress
Implementation
Alter table ... charset
stmts #34562Bugs
latin1
toutf8mb3
#34720Docs
latin1
as an alias forutf8mb4
docs-cn#9522Bug Report
Unsupported modify charset from latin1 to utf8mb4
1. Minimal reproduce step (Required)
MySQL [test]> create table t2(a varchar(20) )CHARSET=latin1;
MySQL [test]> insert into t2 values('😊');
MySQL [test]> alter table t2 DEFAULT CHARACTER SET utf8mb4;
2. What did you expect to see? (Required)
Query OK
3. What did you see instead (Required)
ERROR 8200 (HY000): Unsupported modify charset from latin1 to utf8mb4
4. What is your TiDB version? (Required)
v5.2.2
The text was updated successfully, but these errors were encountered: