简体   繁体   English

MySQL 8.0 lower_case_table_names 1

[英]MySQL 8.0 lower_case_table_names 1

I am setting up MySQL 8.0 on a new Ubuntu 18.04 VM but I am not able to setup the variable lower_case_table_names to 1 . 我在新的Ubuntu 18.04 VM上设置MySQL 8.0,但我无法将变量lower_case_table_names设置为1。 I have tried changing /etc/mysql/mysql.conf.d/mysqld.cnf [mysqld] as in previous versions but had no success and cannot restart mysql service. 我曾尝试像以前的版本一样更改/etc/mysql/mysql.conf.d/mysqld.cnf [mysqld],但没有成功,无法重启mysql服务。 This must be specific to 8.0 as I am able to set this in previous versions. 这必须特定于8.0,因为我能够在以前的版本中设置它。

I had the same problem on Windows and the only way I found to fix it was to uninstall/reinstall MySql server. 我在Windows上遇到了同样的问题,我发现修复它的唯一方法是卸载/重新安装MySql服务器。 During installation, I was able to specify upper case for table names. 在安装过程中,我能够为表名指定大写。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM