Key in database:- !|%$&./()=?ì^
If I use below query:-
SELECT * FROM `user` WHERE key='!|%$&./()=?ì^' AND Status='1'
This works fine.
But I am checking for case sensitive key(some users using case sensitive keys) with below query:-
SELECT * FROM `user` WHERE BINARY key ='!|%$&./()=?ì^' AND Status='1'
This does not provide any data. On removing ì, this works.
key field collation: latin1_swedish_ci
Note:- I can not change collation because there are too much data in database.
What else I can use in place of BINARY.