Help Center/ TaurusDB/ FAQs/ Database Parameter Modification/ How Do I Set Case Sensitivity for GaussDB(for MySQL) Table Names?
Updated on 2024-09-05 GMT+08:00

How Do I Set Case Sensitivity for GaussDB(for MySQL) Table Names?

You can specify case sensitivity for table names when creating an instance on the console or using APIs. It cannot be changed after the instance is created.

  • Set Table Name Case Sensitivity on the console. For details, see Buying a DB Instance.
    Figure 1 Configuring case sensitivity for table names
  • Set lower_case_table_names by invoking an API. For details, see Creating a DB Instance.
    Value range:
    • 0: Table names are case sensitive.
    • 1 (default value): Table names are stored in lowercase and are case insensitive.