|
多说一句,这个问题又转回来了
默认值,Windows中就是不区分大小写:
On Unix, the default value of lower_case_table_names is 0. On Windows the default value is 1. On Mac OS X, the default value is 2.
Value | Meaning | 0 | Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement. Name comparisons are case sensitive. Note that if you force this variable to 0 with --lower-case-table-names=0 on a case-insensitive filesystem and access MyISAM tablenames using different lettercases, index corruption may result. | 1 | Table names are stored in lowercase on disk and name comparisons are not case sensitive. MySQL converts all table names to lowercase on storage and lookup. This behavior also applies to database names and table aliases. | 2 | Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement, but MySQL converts them to lowercase on lookup. Name comparisons are not case sensitive. This works only on filesystems that are not case sensitive! InnoDB table names are stored in lowercase, as for lower_case_table_names=1. |
而
原帖由 kider 于 2008-9-1 19:32 发表
哦,明白是什么原因了,函数是存储在MySQL数据库的信息库中,保存的时候就已经标注了属于那个数据库的函数了。而不是存在磁盘上,与OS文件无关,所以就要求大小写区分了。
所以,你还是需要在函数应用中,需要注意数据库名的大小写。不能大小写混用。或许就是MySQL的一个需要改进的地方或BUG... |
|