Helping doctrine to manage MySQL case sensitivity.

How MYSQL manage this:

How PHP manage it:

At this point, we have:

SELECT LOWER('JOSÉ.PEREZ@FAKEMAIL.COM')
# josé.perez@fakemail.com
strtolower('JOSÉ.PEREZ@FAKEMAIL.COM')
# josÉ.perez@fakemail.com

Our issue with that…

How to fix this ?

Why it should be fixed:

Performance issue with old version of MySQL:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store