Enum JsonSchemaMysql.CollationServerEnum

java.lang.Object
java.lang.Enum<JsonSchemaMysql.CollationServerEnum>
com.exoscale.sdk.model.JsonSchemaMysql.CollationServerEnum
All Implemented Interfaces:
Serializable, Comparable<JsonSchemaMysql.CollationServerEnum>, java.lang.constant.Constable
Enclosing class:
JsonSchemaMysql

public static enum JsonSchemaMysql.CollationServerEnum extends Enum<JsonSchemaMysql.CollationServerEnum>
The default collation for databases created without one, which their new tables then inherit. Only collations of the utf8mb4 character set are accepted. Databases Aiven creates, defaultdb and those added through the API or Console, keep utf8mb4_0900_ai_ci. Changing it leaves existing databases as they are. A change applies to new connections at once. After the next server restart, for example at maintenance, an upgrade, a plan change or a node replacement, sessions reset with COM_RESET_CONNECTION also compare strings with this collation, which a change without a restart does not do. Every 0900 collation except utf8mb4_0900_ai_ci has an id above 255, so after that restart MySQL announces a wrong character set to connecting clients. Clients that take their character set from the server, such as PHP mysqli and PDO without a charset option and MySQL Connector/NET (MySql.Data) without CharSet, must then set utf8mb4 themselves. Default is utf8mb4_0900_ai_ci.