lower_case_table_names

Rener Lemes 1 Reputation point
2022-11-18T13:57:12.27+00:00

The lower_case_table_names variable according to the documentation, it is allowed to make the change. But in the Azure dashboard it is not possible, the field is disabled. Is there any way to change or when the service starts, put it to start with a different value?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
994 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RahulRandive 10,486 Reputation points Volunteer Moderator
    2023-04-26T17:52:55.84+00:00

    Thanks for your question.

    As per below Microsoft document

    https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-limitations

    the lower_case_table_names value can only be set to 1 in Azure Database for MySQL - Flexible Server and it's a static parameter.

    MySQL public docs (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_lower_case_table_names ) says:

    It is prohibited to start the server with a lower_case_table_names setting that is different from the setting used when the server was initialized. The restriction is necessary because collations used by various data dictionary table fields are determined by the setting defined when the server is initialized, and restarting the server with a different setting would introduce inconsistencies with respect to how identifiers are ordered and compared.

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.