I have installed mysql community server 8.013 on ubuntu 18.04 and I have the following issue. I want to set lower_case_table_names=1 in order to have case insensitive table
I also had the same issue.
I edited the /etc/mysql/conf.d/mysql.cnf file. (NOT the /etc/mysql/mysql.conf.d/mysqld.cnf file.)
I inset the lower_case_table_names=1 just below [mysqld] line. (There were no lines below [mysqld] line below.
Then I restarted mysql using sudo service mysql restart
It solved my issue.