Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update mysql cc to support updating default_time_zone #1377

Merged
merged 3 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 3 additions & 31 deletions addons/apecloud-mysql/config/mysql8-config-effect-scope.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,11 +557,7 @@ immutableParameters:
- core-file
- datadir
- default_authentication_plugin
- default_time_zone
- disabled_storage_engines
- gtid_mode
- gtid_owned
- gtid_purged
- init_file
- innodb_data_file_path
- innodb_data_home_dir
Expand All @@ -583,48 +579,24 @@ immutableParameters:
- log_bin_index
- log_slave_updates
- lower_case_file_system
- lower_case_table_names
- mecab_rc_file
- mysqlx_bind_address
- mysqlx_port
- mysqlx_port_open_timeout
- mysqlx_socket
- mysqlx_ssl_ca
- mysqlx_ssl_capath
- mysqlx_ssl_cert
- mysqlx_ssl_crl
- mysqlx_ssl_crlpath
- mysqlx_ssl_key
- open_files_limit
- persisted_globals_load
- pid_file
- plugin_dir
- port
- protocol_version
- relay_log
- relay-log
- relay_log_basename
- relay_log_index
- relay_log_info_file
- relay_log_space_limit
- report_host
- report_password
- report_port
- report_user
- plugin_dir
- secure_file_priv
- server_id
- sha256_password_auto_generate_rsa_keys
- sha256_password_private_key_path
- sha256_password_public_key_path
- skip_external_locking
- skip-slave-start
- slave_load_tmpdir
- socket
- ssl_key
- system_time_zone
- thread_handling
- tmpdir
- validate_password_dictionary_file
- version_comment
- version_compile_machine
- version_compile_os
- version_compile_zlib
- version_compile_zlib
3 changes: 3 additions & 0 deletions addons/mysql/config/mysql5.7-config-constraint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,9 @@
// The type of operating system on which MySQL was built.wait_timeout
version_compile_os?: string

// Server current time zone
default_time_zone?: string

// other parameters
// reference mysql parameters
...
Expand Down
6 changes: 4 additions & 2 deletions addons/mysql/config/mysql5.7-config-effect-scope.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,14 @@ immutableParameters:
- sha256_password_private_key_path
- skip_external_locking
- ssl_key
- server_id
- thread_handling
- tmpdir
- version_compile_machine
- lower_case_file_system
- lower_case_table_names
staticParameters:
- default_time_zone
- back_log
- bind_address
- character_set_system
Expand Down Expand Up @@ -335,8 +339,6 @@ staticParameters:
- locked_in_memory
- log_bin_basename
- log_error
- lower_case_file_system
- lower_case_table_names
- max_digest_length
- myisam_mmap_size
- myisam_recover_options
Expand Down
38 changes: 2 additions & 36 deletions addons/mysql/config/mysql8-config-effect-scope.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ staticParameters:
- ft_stopword_file
- gtid-mode
- gtid_owned
- init_file
- innodb_adaptive_hash_index_parts
- innodb_autoinc_lock_mode
- innodb_buffer_pool_chunk_size
Expand Down Expand Up @@ -75,15 +74,11 @@ staticParameters:
- innodb_use_native_aio
- innodb_write_io_threads
- large_pages
- log_bin
- log-bin
- log_bin_basename
- log_bin_index
- log_bin_use_v1_row_events
- log_error
- log_slave_updates
- lower_case_file_system
- lower_case_table_names
- master-info-repository
- max_digest_length
- mecab_rc_file
Expand Down Expand Up @@ -146,7 +141,6 @@ staticParameters:
- performance_schema_users_size
- persisted_globals_load
- pid_file
- plugin_dir
- port
- protocol_version
- rds.optimized_writes
Expand Down Expand Up @@ -557,11 +551,7 @@ immutableParameters:
- core-file
- datadir
- default_authentication_plugin
- default_time_zone
- disabled_storage_engines
- gtid_mode
- gtid_owned
- gtid_purged
- init_file
- innodb_data_file_path
- innodb_data_home_dir
Expand All @@ -583,44 +573,20 @@ immutableParameters:
- log_bin_index
- log_slave_updates
- lower_case_file_system
- lower_case_table_names
- mecab_rc_file
- mysqlx_bind_address
- mysqlx_port
- mysqlx_port_open_timeout
- mysqlx_socket
- mysqlx_ssl_ca
- mysqlx_ssl_capath
- mysqlx_ssl_cert
- mysqlx_ssl_crl
- mysqlx_ssl_crlpath
- mysqlx_ssl_key
- open_files_limit
- persisted_globals_load
- pid_file
- plugin_dir
- port
- protocol_version
- relay_log
- relay-log
- relay_log_basename
- relay_log_index
- relay_log_info_file
- relay_log_space_limit
- report_host
- report_password
- report_port
- report_user
- plugin_dir
- secure_file_priv
- server_id
- sha256_password_auto_generate_rsa_keys
- sha256_password_private_key_path
- sha256_password_public_key_path
- skip_external_locking
- skip-slave-start
- slave_load_tmpdir
- socket
- ssl_key
- system_time_zone
- thread_handling
- tmpdir
- validate_password_dictionary_file
Expand Down
Loading