如何将utf8的表转为utf8mb4

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
ALTER TABLE xxx CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE xxx CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE     xxx     CONVERT TO CHARACTER SET utf8mb4     COLLATE utf8mb4_unicode_ci;

 

Leave a Reply

Your email address will not be published. Required fields are marked *