Statement 1
INSERT INTO `abc`.`a` (`name`) VALUES ('Otp1');
Statement 2
INSERT INTO `abc`.`a` (`name`) VALUES ('Ötp1');
I have unique constraint on column name.
Statement 2 throwing following exception.
Error Code: 1062. Duplicate entry 'otp1' for key 'name' 0.000 sec
I tried to configure database with following settings,
- Collation = utf8 - Defalut collation
- Collation = utf8_swedish_ci
But, SQL is not able to differentiate between o and Ö due to that it is throwing exception.
Can anyone assist me how to resolve this issue.