column name work as a case insenstive

In MariaDB , lower_case_table_names is set to 1 then column work as a case insensitive, when we are inserting CHAR data type in database( for example i and I is treating as same ) giving duplicate entry error. .

please provide some solution for that

Answer Answered by Julian Egelstaff in this comment.

I think you'd have to change collation on all tables. And you can set collation for the database itself too, which affects newly created tables?

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.