I have a query like this with a UTF8 name:
select column from table where name = 'something'
When I try this from my mysql client (HeidiSQL) then the result is returned even if there is a case difference between name and something. This is good.
Howevever, when I run the same query from PHP with PDO then the query is case-sensitive for some reason.
The table uses the default collation utf8_general_ci and in the PDO connection I only set charset=utf8.
Shouldn't then the default collation for the PDO connection also be case insensitive?