MySQL case sensitive in linux Type in your terminal sudo vim /etc/mysql/my.cnf Edit the file adding the entry lower_case_table_names=1 just under the group definition: [mysqld] lower_case_table_names=1 Restart mysql sudo service mysql restart Enjoy!
Thank for sharing, although this doesn't work with MySQL 8.
https://bugs.mysql.com/bug.php?id=90695
A workaround is suggested here but be careful.
https://stackoverflow.com/questions/53103588/lower-case-table-names-1-on-ubuntu-18-04-doesnt-let-mysql-to-start/53175727#53175727
Best solution so far to initialize MySQL data directory with the lower_case_table_names=1
https://stackoverflow.com/a/63141850/1084568