我lower_case_table_names = 2在/etc/my.cnf文件中设置。我还在/etc/mysql/my.cnf文件中更新了这个变量。设置变量后,我重新启动了 mysql 服务器,但当我使用SHOW VARIABLES.
我正在使用 MySQL 5.5。任何想法还需要做什么?
更新
my.cnf 内容:-
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to …Run Code Online (Sandbox Code Playgroud) mysql ×1