Použijte MySQL Binary operátor: select value from tbl_test where CAST(name AS BINARY) ='abc'; Ukázka SQL Fiddle .