I need to make inquiries in a database of registered users. However, I need this search done by the user name, through LIKE
, and this should ignore the UTF-8
encoding present in the names.
What I want to say is this:
- When you search for
c
, it should findc
andç
. - When I search for
a
, I want it to findà
,ã
andá
That is,
When doing
SELECT * FROM usuarios where NOME LIKE 'Maria Magalhaes'
He found Maria Magalhães
How can I do this in MYSQL?