I want to sort the results of MySQL based on the best match by using collate
query => zeķ
want to show
Vīriešu zeķes
Sieviešu zeķes
Daivinga zeķes
.
.
.
Mācību līdzekļi
I mean show all characters match (zek, ZEK, zeķ, etc) but sort by character user entered (zeķ)
I did tests: BINARY in order by => no success
used ( order by name
LIKE 'zeķ' collate utf8mb4_general_ci) different colloate => no success
I get
1273 - Unknown collation: 'utf8mb4_unicode_cs'
for xxx_unicode_cs & xxx__unicode_bin can't change the setting of MySQL on the server (don't have access, host will not do it)
MySQL version is 5.7
result of SHOW CHARACTER SET
getting this result
big5_chinese_ci
dec8_swedish_ci
cp850_general_ci
hp8_english_ci
koi8r_general_ci
latin1_swedish_ci
latin2_general_ci
swe7_swedish_ci
ascii_general_ci
ujis_japanese_ci
sjis_japanese_ci
hebrew_general_ci
tis620_thai_ci
euckr_korean_ci
koi8u_general_ci
gb2312_chinese_ci
greek_general_ci
cp1250_general_ci
gbk_chinese_ci
latin5_turkish_ci
armscii8_general_ci
utf8_general_ci
ucs2_general_ci
cp866_general_ci
keybcs2_general_ci
macce_general_ci
macroman_general_ci
cp852_general_ci
latin7_general_ci
utf8mb4_general_ci
cp1251_general_ci
utf16_general_ci
utf16le_general_ci
cp1256_general_ci
cp1257_general_ci
utf32_general_ci
binary
geostd8_general_ci
cp932_japanese_ci
eucjpms_japanese_ci
using UNION made my query very slow, but result was fine