Skip to content

Commit 65a42b2

Browse files
authored
migrate-from-mariadb: add note about utf8mb4_uca1400_ai_ci (#21162) (#21166)
1 parent a33a92f commit 65a42b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

migrate-from-mariadb.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ WHERE
186186

187187
TiDB 不支持 MariaDB 中常用的 `latin1_swedish_ci` 排序规则。
188188

189-
执行下列语句检查你正在使用的排序规则:
189+
TiDB 也不支持 `utf8mb4_uca1400_ai_ci`,该排序规则为 MariaDB 11.6 及之后版本默认使用的排序规则。请使用 `utf8mb4_0900_ai_ci`。这两个排序规则的区别在于所使用的 [Unicode Collation Algorithm (UCA)](http://www.unicode.org/reports/tr10/) 版本不同:`utf8mb4_0900_ai_ci` 使用的是 UCA 9.0.0,而 `utf8mb4_uca1400_ai_ci` 使用的是 UCA 14.0.0。
190+
191+
执行下列语句检查 TiDB 支持的排序规则:
190192

191193
```sql
192194
SHOW COLLATION;

0 commit comments

Comments
 (0)