Use o Binary do MySQL operador: select value from tbl_test where CAST(name AS BINARY) ='abc'; Demonstração do SQL Fiddle .