且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

mysql表名不能大写

更新时间:2023-02-26 10:02:55

这取决于您的系统(主要值是Unix,Windows和Mac OS).

It depends on your system (Unix, Windows and Mac OS for the main values).

您需要将系统变量"lower_case_table_names"设置为1或2,以使数据库不区分大小写.

You need to set your system variable "lower_case_table_names" to 1 or 2, to make your database case insensitive.

SET lower_case_table_names=1;

SET lower_case_table_names=2;

点击 Mysql.com >和此处