I am used to doing a case-insensitive match in mysql on utf8
fields, such as:
select * from connections where full_name like '%david%'
However, it seems that utf8mb4
does not support case-insensitive searches. How would I do the same against that in mysql?
The table I have is:
CREATE TABLE `connections` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`user_id` varchar(120) NOT NULL DEFAULT '',
`full_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `user_id` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7160 DEFAULT CHARSET=utf8;