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

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

    However, for a particular database, the case sensitivity doesnt affect. I can use any case I will never receive errors. Why?

    This is because this database is simply created with option of case-insensitivity (by default). You need first to put case-sensitive option in the top of sql create script before the database creation, so the DBMS takes care.

提交回复
热议问题