I want to select table use character in Unicode CJK Extension-B.
select * from saseung where hanja = '';
But the result shows all CJK Extension-B characters in the table.
, , , , , etc
I guess MySQL check only the first two characters of ''.
my table def is below.
CREATE TABLE `saseung` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`hanja` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5773 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
add March 4
my MySQL setting is
SHOW VARIABLES WHERE VARIABLE_NAME LIKE '%coll%'
OR VARIABLE_NAME LIKE '%char%' OR VARIABLE_NAME='init_connect';
result