Użyj MySQL Binary operator: select value from tbl_test where CAST(name AS BINARY) ='abc'; Pokaz SQL Fiddle .