Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Default character set for different versions of MySQL

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

MySQL default character set for different versions

MySQL 5.6 Default Character Set

Note: default is utf8, support utf8mb4.

MySQL 5.7 Default Character Set

Note: the default is utf8, to this version of the production environment we will use utf8mb4.

MySQL 8.0 Default Character Set

Note: after a long time, 8.0 finally supports utf8mb4 by default, we will use utf8mb4 in natural production environment.

IV. Summary

1. utf8mb4 is a superset of utf8

2, utf8mb4 support emoji

UTF 8 MB4 can replace UTF 8.

4. Emphasize that in mysql8.0 version, do not use char number type, and use varchar uniformly.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report