[DiscordArchive] You're right. I'm really too old
[DiscordArchive] You're right. I'm really too old
Archived author: mateo • Posted: 2023-10-16T04:31:02.616000+00:00
Original source
You're right. I'm really too old
If compatible, what are the sorting rules for the character set of utf8bm4 when creating a new database?
Archived author: mateo • Posted: 2023-10-16T04:33:14.652000+00:00
Original source
Sorry, I didn't make it clear. I'm utf8bm3
Archived author: Foe • Posted: 2023-10-16T04:35:00.025000+00:00
Original source
utf8mb3 isn't really a thing, that's just utf, which is deprecated
Archived author: Foe • Posted: 2023-10-16T04:35:20.302000+00:00
Original source
But for sorting rules for mb4:
utf8mb4_general_ci: MySQL's default sorting rule, the Unicode part is not strictly sorted in Unicode order
utf8mb4_unicode_ci: sorting by Unicode character order
utf8mb4_0900_ai_ci: sorted by Unicode 9.0 characters, including characters outside the basic multilingual plane
Archived author: mateo • Posted: 2023-10-16T04:37:18.088000+00:00
Original source
Now I am creating a new database called mysql8.1, sorted as utf8mb4_ 0900_ AI_ Ci
I am currently preparing to migrate the 5.7 data to MySQL 8.1. Data is a very sensitive thing. I am afraid of errors
Archived author: Foe • Posted: 2023-10-16T04:38:13.640000+00:00
Original source
Shouldn't be an issue, just backup your data just in case
Archived author: Foe • Posted: 2023-10-16T04:38:34.938000+00:00
Original source
The utf character set fully fits within utf8mb4
Archived author: mateo • Posted: 2023-10-16T04:40:00.254000+00:00
Original source
Thank you
I will try the migration first. I hope everything goes smoothly,
I also wish you all the best
Archived author: mateo • Posted: 2023-10-16T04:41:59.257000+00:00
Original source
Is it meaningful to actually upgrade the data table of utf8bm3 to utf8bm4? I don't know how to use emoticons with extra language
Archived author: Revision • Posted: 2023-10-16T16:17:49.144000+00:00
Original source
utf8mb4 is a lot faster than utf8mb3 so you should. utf8mb3 is also deprecated (or will be) so continuing to use it is a bad idea regardless.