Chuyển tới nội dung chính
Version: 4.1

Cấu hình MySQL

Trên trang Edit MySQL Configuration, bạn có thể sửa thiết lập cho dịch vụ cơ sở dữ liệu (MySQL hoặc MariaDB).

LƯU Ý: Để trống một trường nghĩa là hệ thống sẽ dùng giá trị mặc định của phiên bản cơ sở dữ liệu của bạn.

Các tuỳ chọn có thể cấu hình gồm:

  • max_allowed_packet
  • max_connect_errors
  • max_connections
  • open_files_limit
  • performance_schema
  • sql_mode
  • thread_cache_size
  • interactive_timeout
  • wait_timeout
  • log_output
  • log_error
  • log_error_verbosity
  • general_log
  • general_log_file
  • long_query_time
  • slow_query_log
  • slow_query_log_file
  • join_buffer_size
  • key_buffer_size
  • read_buffer_size
  • read_rnd_buffer_size
  • sort_buffer_size
  • innodb_log_buffer_size
  • innodb_log_file_size
  • innodb_sort_buffer_size
  • innodb_buffer_pool_chunk_size
  • innodb_buffer_pool_instances
  • innodb_buffer_pool_size
  • max_heap_table_size
  • tmp_table_size

Quản trị viên có toàn quyền điều chỉnh các thiết lập này khi cần.

INFORMATION

Lưu ý: Áp dụng thay đổi sẽ khởi động lại dịch vụ cơ sở dữ liệu.