MySQL case sensitivity table name on MacOS with case insensitive file system

前端 未结 7 1056
梦如初夏
梦如初夏 2021-01-19 11:55

I have researched a lot and what I understand to make database tables name sensitive, you have to set the variable lower_case_table_names=0. Im on osX. I did this change in

7条回答
  •  半阙折子戏
    2021-01-19 12:39

    The case sensitivity of database and table names depends on the underlying OS and file system.

    On Windows they are not case sensitive. On Linux they are case sensitive.

    OSX is somewhere in the middle; the HFS file system supports both case-sensitive and case-insensitive file names (not on the same time though). It depends on how it was formatted.

提交回复
热议问题