Illegal mix of collations (latin1

it2023-06-29  67

报错太长,题目容不下:

Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'like'

SET collation_connection = 'utf8_general_ci';

 

ALTER DATABASE your_database_name CHARACTER SET utf8 COLLATE utf8_general_ci; ALTER TABLE your_table_name CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

 

 

 

最新回复(0)