lower_case_table_names=1 on Ubuntu 18.04 doesn't let mysql to start

后端 未结 5 765
抹茶落季
抹茶落季 2020-12-31 23:24

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

5条回答
  •  佛祖请我去吃肉
    2020-12-31 23:59

    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.

提交回复
热议问题