出現錯誤:error code:1366. incorrect string value
- Condition: 如果執行格式一可能沒變,一樣是latin1
1
ALTER TABLE `student` default character set utf8; #utf8mb4
- Solution: you can run the following code to check it again.
輸入以下指令,設定格式latin1為 utf81
2ALTER TABLE `student` convert to character set utf8; #utf8mb4
show create table `student`;