Created
October 12, 2018 07:32
-
-
Save dolt131943/cc88e47d27db9216fe450f1e5e32e2d5 to your computer and use it in GitHub Desktop.
java.sql.SQLException: Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. mysql create database use utf8mb4 collation utf8mb4_general_ci, and then import tables with charset=utf8mb4 with out setting collation; | |
2. the imported tables has use the default utf8mb4 collation utf8mb4_0900_ai_ci but not the database used; | |
solution: change database collation to utf8mb4_0900_ai_ci, solved the above problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello,Solve it?