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

前端 未结 7 989
梦如初夏
梦如初夏 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:31

    MacOsx 10.13, docker 3.0.1.
    Changing lower_case_table_names to 0 did not help me. Mysql gave error

    [ERROR] The server option ‘lower_case_table_names’ is configured to use case sensitive table names but the data directory is on a case-insensitive file system which is an unsupported combination. Please consider either using a case sensitive file system for your data directory or switching to a case-insensitive table name mode.
    

    Turning this setting Use gRPC FUSE for file sharing off in docker settings helped:

提交回复
热议问题