
MySQL 설치
요즘은 도커(Docker)나 쿠버네티스(Kubernetes) 같은 컨테이너 기반 배포가 대세를 이루고 있습니다.
개발자들 사이에서도 이러한 빠르고 유연한 배포 방식이 당연시되고 있죠.
컨테이너를 사용하면 환경 설정이 간편하고, 자동화된 파이프라인으로 배포가 쉬워지니까요.
이런 세상에서 "굳이 OS에 접속해서 수동으로 명령어를 입력하며 MySQL 같은 데이터베이스를 설치하는 게 의미가 있을까?"라는 생각이 드는 건 지극히 정상적이라고 봅니다.
사실, 컨테이너 기술의 편리함을 보면, 손으로 하나씩 설치하는 전통적인 방식이 시대에 뒤떨어진 것처럼 느껴질 수도 있죠.
하지만 꼭 그렇지는 않다고 생각합니다. 컨테이너를 사용하지 않고 온프레미스 환경에서 직접 MySQL을 수동으로 설치하는 일은 여전히 의미가 있습니다.
모든 상황이 컨테이너에 맞춰져 있지는 않으니까요.
예를 들어, 컨테이너는 환경을 표준화하고 배포를 빠르게 해주지만, 특정 설정을 세밀하게 조정해야 할 때는 수동 설치가 더 유리할 수 있습니다.
회사 내부에서 데이터를 철저히 통제해야 하는 경우, 컨테이너 이미지나 외부 레지스트리에 의존하기보다는 직접 설치해서 관리하는 게 보안상 안전할 때가 있죠.
또, 초기 스타트업처럼 자원이 제한적인 상황에서는 컨테이너 도입 대신 기존 서버에 수동으로 세팅하며 비용을 아끼는 방법도 괜찮습니다.
게다가 Proxmox처럼 자체 VM이나 컨테이너(LXC) 기반으로 배포하는 환경에서는, 그 안에서 도커 같은 컨테이너를 또 사용하는 이중 컨테이너 구조를 피하고 싶을 때가 있습니다.
이런 경우에도 수동 설치가 더 깔끔하고 안정적인 선택이 될 수 있죠.
사람마다 다르겠지만 회사 생활을 하다보면 상황에 따라 수동 설치가 필요한 순간이 있을 수 있으니, 같이 한번 살펴보고 해보면 좋을 것 같습니다.
왜 Ubuntu 24.04 인가?
Ubuntu는 2년마다 LTS(Long-Term Support) 버전을 출시합니다.
일단 LTS는 5년간 지원을 보장하니 안정성과 장기 사용 측면에서 매력인 버전을 의미합니다.
기업이 아닌 일반 사용자들도 안정적인 버전을 사용하기 위해 LTS를 주로 사용하는 경향이 있습니다.
현재 기준(2025년 3월)으로 최신 LTS는 2024년 4월에 나온 Ubuntu 24.04.2 입니다.
물론 22.04 LTS 버전의 경우도 27년까진 지원한다곤 하지만 최근들어 24버전도 많이 안정화되었다고 판단이 들어 이번엔 우분투 24.04.2에서 설치를 진행하도록 하겠습니다.
실무에선 아직 저도 22.04를 사용하고 있습니다.
왜 MySQL 8.4 인가?
MySQL은 8.0 이후로 버전별 지원 정책을 명확히 했습니다.
8.0은 2018년에 나왔고, 지원은 2026년 4월까지입니다.
반면, 8.4는 2024년에 출시된 최신 LTS로, 2032년 4월까지 지원됩니다.
8.1, 8.2, 8.3은 LTS가 아닌 innovation release로, 지원 기간이 짧고 주로 신기능 테스트에 초점이 맞춰져 있습니다.
새로운 기능이 익숙해졌다가 LTS버전에서 사라질 수 있을 수 있기에 개인적으로는 LTS버전으로 진행합니다.
우분투와 마찬가지로 8.0 다음은 8.4로 확인되어 이번엔 8.4로 진행해보도록 하겠습니다.
제 경우 실무에선 아직 8.0을 사용중에 있습니다.
1. 사전준비 : 시스템 업데이트
# dpkg 를 사용하기 위해 gnupg 설치 포함
sudo apt update && sudo apt upgrade -y && sudo apt install gnupg
2. 레포지토리 추가 : MySQL APT Repository 추가
# 파일 다운로드 2025.03.05 기준 0.8.33-1.all.deb가 최신
wget https://repo.mysql.com/mysql-apt-config_0.8.33-1_all.deb
# 설치
sudo dpkg -i mysql-apt-config_0.8.33-1_all.deb

# 레포지토리 정보 반영 되도록 패키지 목록 업데이트
sudo apt update

혹시 wget이 안되는 경우 아래 Mysql Community Downloads APT Repository Package 다운로드 페이지를 통해 mysql apt config 파일을 받을 수 있습니다.
https://dev.mysql.com/downloads/repo/apt/
3. MySQL 8.4.4 설치
# Mysql-Server 설치
sudo apt install mysql-server -y




# 설치 상태 확인
sudo systemctl status mysql
# Mysql 서비스 실행
sudo systemctl start mysql
# 재부팅되어도 자동시작 될 수 있도록 enable 처리
sudo systemctl enable mysql
4. MySQL 버전 확인
mysql --version
# mysql Ver 8.4.4 for Linux on x86_64 (MySQL Community Server - GPL)
5. MySQL 보안 설정
MySQL은 설치 직후 기본 설정이 안전하지 않을 수 있습니다. 이를 보완하기 위해 제공되는 보안 설정 스크립트를 실행합니다.
sudo mysql_secure_installation
아래 보안 설정 스크립트를 원활히 진행하는 예 입니다. 참고하여 진행합니다.
# 명령어 입력
root@MySQL8:~# sudo mysql_secure_installation
Securing the MySQL server deployment.
Enter password for user root: [비밀번호 입력]
--------------------------------------------------------------
VALIDATE PASSWORD COMPONENT can be used to test passwords
and improve security. It checks the strength of password
and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD component?
VALIDATE PASSWORD 구성 요소는 비밀번호를 테스트하고 보안을 강화하는 데 사용할 수 있습니다.
이 구성 요소는 비밀번호의 강도를 확인하며, 사용자가 충분히 안전한 비밀번호만 설정할 수 있도록 합니다.
VALIDATE PASSWORD 구성 요소를 설정하시겠습니까?
Press y|Y for Yes, any other key for No: [선택]
---------------------------------------------------------------
Using existing password for root.
Change the password for root ? ((Press y|Y for Yes, any other key for No) : [선택]
기존 root 비밀번호를 사용합니다.
root 비밀번호를 변경하시겠습니까?
---------------------------------------------------------------
... skipping.
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.
Remove anonymous users? (Press y|Y for Yes, any other key for No) : [선택]
기본적으로 MySQL 설치에는 익명 사용자(anonymous user)가 포함되어 있어,
별도의 사용자 계정을 생성하지 않아도 누구나 MySQL에 로그인할 수 있습니다.
이는 테스트 및 설치를 보다 원활하게 하기 위한 용도로만 제공됩니다.
운영 환경으로 이동하기 전에 반드시 이 익명 사용자를 제거하는 것이 좋습니다.
익명사용자들을 제거하시겠습니까?
---------------------------------------------------------------
Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.
Disallow root login remotely? (Press y|Y for Yes, any other key for No) : [선택]
일반적으로 root 사용자는 localhost에서만 접속할 수 있도록 제한해야 합니다.
이렇게 하면 네트워크를 통해 누군가 root 비밀번호를 추측하여 접속하는 것을 방지할 수 있습니다.
원격에서 root 로그인을 비활성화하시겠습니까?
---------------------------------------------------------------
... skipping.
By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.
Remove test database and access to it? (Press y|Y for Yes, any other key for No) : [선택]
기본적으로 MySQL에는 **'test'**라는 데이터베이스가 포함되어 있으며,
누구나 접근할 수 있습니다.
이 데이터베이스는 테스트용으로만 제공되므로,
운영 환경으로 이동하기 전에 삭제하는 것이 좋습니다.
'test' 데이터베이스 및 해당 접근 권한을 제거하시겠습니까?
---------------------------------------------------------------
Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : [선택]
권한 테이블을 다시 로드하면 지금까지 적용된 모든 변경 사항이 즉시 반영됩니다.
권한 테이블을 지금 다시 로드하시겠습니까?
All done!
root@MySQL8:~#
6. MySQL 접속 테스트
sudo mysql -u root -p
# sudo mysql -uroot -p 와 같이 u와 계정명을 붙여서 사용해도 된다.

7. 원격 접속 설정
기본적으로 MySQL은 로컬 접속만 허용하는게 디폴트 세팅인 줄 알았는데 8.4.4버전을 설치하고 보니, bind_address가 *로 되어있는걸 확인했습니다.
사실상 전부 허용으로 되어있어 외부 접근이 가능하지만, 개인적으로는 접속가능한 IP만 세팅해두는게 좋다고 생각해 관련 설정법을 추가로 작성하였습니다.
사실 127.0.0.1 만 허용으로 되어있을거라고 생각해 외부접근허용 가능하게 하는 방법에 대해 서술하려고 설정하려고 들어갔다가 *로 되어있어 당황하였습니다.
mysql> SHOW VARIABLES LIKE 'bind_address';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| bind_address | * |
+---------------+-------+

8.0은 bind-address가 기본 127.0.0.1 로 되어있었는데, 8.4는 아닌것 같습니다.
공식 문서를 조회해보니 수신 네트워크 인터페이스가 * 로 바뀐걸 확인할 수 있었습니다.
... | ||
auto_increment_increment | 1 |
자동 증가 값 증가폭
|
bind_address | * | 수신 네트워크 인터페이스 |
character_set_server | utf8mb4 |
서버 기본 문자셋
|
collation_server |
utf8mb4_0900_ai_ci
|
서버 기본 정렬 규칙
|
default_storage_engine |
InnoDB
|
기본 스토리지 엔진
|
innodb_buffer_pool_size |
134217728 (128MB)
|
InnoDB 버퍼 풀 크기
|
innodb_log_file_size |
50331648 (48MB)
|
InnoDB 로그 파일 크기
|
long_query_time |
10.000000 (10초)
|
느린 쿼리 기준 시간
|
max_connections | 151 |
최대 동시 연결 수
|
max_execution_time | 0 |
쿼리 최대 실행 시간 (0은 무제한)
|
port | 3306 |
서버 포트 번호
|
sql_mode |
ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
|
SQL 동작 모드
|
... |
혹시 관련 기본 설정값들에 대해 좀 더 상세히 확인하고 싶으신 경우 게시글 최하단에 접혀진 부분을 통해 확인하세요
보안상 로컬에서만 접속가능하게 하려면 아래와 같이 설정할 수 있습니다. 보통은 루프백 주소로 안하려고 하지만 예시로 적어봅니다.
파일 편집 : /etc/mysql/mysql.conf.d/mysqld.cnf
[mysqld]
bind-address = 127.0.0.1
* : IPv4 , IPv6 모든 주소 수신
192.168.50.20 : I192.168.50.20 IPv4 주소만 수신
198.51.100.20,2001:db8:0:f101::1 : 198.51.100.20 IPv4 주소와 2001:db8:0:f101::1 IPv6 주소를 수신
값으로는 단일IP, 모든 IPv4 (0.0.0.0), 모든 IPv6(::), 모든 IPv4, IPv6 (*) 로만 설정할 수 있다.
상황에 맞게 작성하여 사용하시면 됩니다.
변경 사항을 저장하고, 아래 명령어를 통해 서비스를 다시 시작합니다.
sudo systemctl restart mysql
마무리
설치는 큰 문제 없이 잘 진행되었습니다.
설치 이후 찾아보니 MySQL 8.0에서 8.4로 올라가면서 내부적으로 변경된 부분들이 꽤나 있었지만
해당 부분은 확인해보고 추후에 시간이 나면 한번 정리해서 올려봐야 할 것 같습니다.
설치 이후에 운영하면서 발견한 점들도 함께 다뤄보면 좋겠네요.
이상으로 이번 MySQL 설치 정리를 마칩니다. 도움이 되셨길 바랍니다!
참고) MySQL 8.4 변수 기본값 및 설명 모음
실제 적용시엔 변수명에 _ (언더바)를 -(하이픈)으로 변경하여 사용하시면 됩니다.
변수 이름 | 기본값 | 설명 |
---|---|---|
activate_all_roles_on_login | OFF | 로그인 시 모든 역할 자동 활성화 여부 |
admin_address | (없음) | 관리 인터페이스 수신 주소 |
admin_port | 33062 | 관리 인터페이스 포트 번호 |
admin_ssl_ca | (없음) | 관리 인터페이스 SSL CA 파일 경로 |
admin_ssl_capath | (없음) | 관리 인터페이스 SSL CA 디렉토리 경로 |
admin_ssl_cert | (없음) | 관리 인터페이스 SSL 인증서 파일 경로 |
admin_ssl_cipher | (없음) | 관리 인터페이스 SSL 암호 목록 |
admin_ssl_crl | (없음) | 관리 인터페이스 SSL CRL 파일 경로 |
admin_ssl_crlpath | (없음) | 관리 인터페이스 SSL CRL 디렉토리 경로 |
admin_ssl_key | (없음) | 관리 인터페이스 SSL 키 파일 경로 |
authentication_fido_rp_id | (없음) | FIDO 인증 Relying Party ID |
authentication_ldap_sasl_auth_method_name | SCRAM-SHA-1 | LDAP SASL 인증 방법 |
authentication_ldap_sasl_bind_base_dn | (없음) | LDAP SASL 바인드 기본 DN |
authentication_ldap_sasl_bind_root_dn | (없음) | LDAP SASL 루트 DN |
authentication_ldap_sasl_bind_root_pwd | (없음) | LDAP SASL 루트 비밀번호 |
authentication_ldap_sasl_ca_path | (없음) | LDAP SASL CA 경로 |
authentication_ldap_sasl_group_search_attr | cn | LDAP SASL 그룹 검색 속성 |
authentication_ldap_sasl_group_search_filter | (없음) | LDAP SASL 그룹 검색 필터 |
authentication_ldap_sasl_init_pool_size | 10 | LDAP SASL 초기 풀 크기 |
authentication_ldap_sasl_log_status | 1 | LDAP SASL 로그 상태 |
authentication_ldap_sasl_max_pool_size | 1000 | LDAP SASL 최대 풀 크기 |
authentication_ldap_sasl_server_host | (없음) | LDAP SASL 서버 호스트 |
authentication_ldap_sasl_server_port | 389 | LDAP SASL 서버 포트 |
authentication_ldap_sasl_tls | OFF | LDAP SASL TLS 사용 여부 |
authentication_ldap_sasl_user_search_attr | uid | LDAP SASL 사용자 검색 속성 |
authentication_ldap_simple_auth_method_name | SIMPLE | LDAP 단순 인증 방법 |
authentication_ldap_simple_bind_base_dn | (없음) | LDAP 단순 바인드 기본 DN |
authentication_ldap_simple_bind_root_dn | (없음) | LDAP 단순 루트 DN |
authentication_ldap_simple_bind_root_pwd | (없음) | LDAP 단순 루트 비밀번호 |
authentication_ldap_simple_ca_path | (없음) | LDAP 단순 CA 경로 |
authentication_ldap_simple_group_search_attr | cn | LDAP 단순 그룹 검색 속성 |
authentication_ldap_simple_group_search_filter | (없음) | LDAP 단순 그룹 검색 필터 |
authentication_ldap_simple_init_pool_size | 10 | LDAP 단순 초기 풀 크기 |
authentication_ldap_simple_log_status | 1 | LDAP 단순 로그 상태 |
authentication_ldap_simple_max_pool_size | 1000 | LDAP 단순 최대 풀 크기 |
authentication_ldap_simple_server_host | (없음) | LDAP 단순 서버 호스트 |
authentication_ldap_simple_server_port | 389 | LDAP 단순 서버 포트 |
authentication_ldap_simple_tls | OFF | LDAP 단순 TLS 사용 여부 |
authentication_ldap_simple_user_search_attr | uid | LDAP 단순 사용자 검색 속성 |
authentication_policy | * | 인증 플러그인 정책 |
authentication_webauthn_rp_id | mysql | WebAuthn Relying Party ID |
auto_generate_certs | ON | 인증서 자동 생성 여부 |
auto_increment_increment | 1 | 자동 증가 값 증가폭 |
auto_increment_offset | 1 | 자동 증가 값 시작점 |
autocommit | ON | 트랜잭션 자동 커밋 여부 |
automatic_sp_privileges | ON | 저장 프로시저 권한 자동 부여 여부 |
avoid_temporal_upgrade | OFF | 시간 데이터 업그레이드 방지 여부 |
back_log | 151 | TCP/IP 연결 요청 대기 큐 크기 |
basedir | (설치 경로에 따라 다름) | MySQL 설치 기본 디렉토리 경로 |
big_tables | OFF | 큰 테이블 디스크 저장 여부 |
bind_address | * | 수신 네트워크 인터페이스 |
binlog_cache_size | 32768 (32KB) | 바이너리 로그 캐시 크기 |
binlog_checksum | CRC32 | 바이너리 로그 체크섬 알고리즘 |
binlog_direct_non_transactional_updates | OFF | 비트랜잭션 업데이트 직접 기록 여부 |
binlog_encryption | OFF | 바이너리 로그 암호화 여부 |
binlog_error_action | ABORT_SERVER | 바이너리 로그 에러 시 동작 |
binlog_expire_logs_auto_purge | ON | 만료된 바이너리 로그 자동 삭제 여부 |
binlog_expire_logs_seconds | 2592000 (30일) | 바이너리 로그 만료 시간 |
binlog_format | ROW | 바이너리 로그 형식 |
binlog_group_commit_sync_delay | 0 | 바이너리 로그 그룹 커밋 지연 시간 |
binlog_group_commit_sync_no_delay_count | 0 | 바이너리 로그 그룹 커밋 대기 트랜잭션 수 |
binlog_gtid_simple_recovery | ON | GTID 복구 간소화 여부 |
binlog_max_flush_queue_time | 0 | 바이너리 로그 플러시 대기 시간 |
binlog_order_commits | ON | 바이너리 로그 커밋 순서 보장 여부 |
binlog_rotate_encryption_master_key_at_startup | OFF | 시작 시 바이너리 로그 암호화 키 회전 여부 |
binlog_rotation_file_number_threshold | 0 | 바이너리 로그 회전 파일 번호 임계값 |
binlog_rotation_file_size_threshold | 0 | 바이너리 로그 회전 파일 크기 임계값 |
binlog_row_event_max_size | 8192 | 바이너리 로그 행 이벤트 최대 크기 |
binlog_row_image | FULL | 바이너리 로그 행 이미지 형식 |
binlog_row_metadata | MINIMAL | 바이너리 로그 행 메타데이터 수준 |
binlog_row_value_options | (없음) | 바이너리 로그 행 값 옵션 |
binlog_rows_query_log_events | OFF | 바이너리 로그에 쿼리 이벤트 기록 여부 |
binlog_stmt_cache_size | 32768 (32KB) | 바이너리 로그 문 캐시 크기 |
binlog_transaction_compression | OFF | 바이너리 로그 트랜잭션 압축 여부 |
binlog_transaction_compression_level_zstd | 3 | 바이너리 로그 Zstd 압축 수준 |
binlog_transaction_compression_threshold | 1024 | 바이너리 로그 압축 임계값 |
binlog_transaction_dependency_history_size | 25000 | 바이너리 로그 트랜잭션 종속성 히스토리 크기 |
binlog_transaction_dependency_tracking | COMMIT_ORDER | 바이너리 로그 트랜잭션 종속성 추적 방법 |
block_encryption_mode | aes-128-ecb | 블록 암호화 모드 |
bulk_insert_buffer_size | 8388608 (8MB) | 벌크 삽입 버퍼 크기 |
caching_sha2_password_auto_generate_rsa_keys | ON | SHA2 캐싱 비밀번호 RSA 키 자동 생성 여부 |
caching_sha2_password_digest_rounds | 5000 | SHA2 캐싱 비밀번호 다이제스트 반복 횟수 |
caching_sha2_password_private_key_path | private_key.pem | SHA2 캐싱 비밀번호 개인 키 경로 |
caching_sha2_password_public_key_path | public_key.pem | SHA2 캐싱 비밀번호 공개 키 경로 |
character_set_client | utf8mb4 | 클라이언트 문자셋 |
character_set_connection | utf8mb4 | 연결 문자셋 |
character_set_database | utf8mb4 | 데이터베이스 문자셋 |
character_set_filesystem | binary | 파일 시스템 문자셋 |
character_set_results | utf8mb4 | 결과 문자셋 |
character_set_server | utf8mb4 | 서버 기본 문자셋 |
character_sets_dir | (설치 경로에 따라 다름) | 문자셋 디렉토리 경로 |
check_proxy_users | OFF | 프록시 사용자 확인 여부 |
collation_connection | utf8mb4_0900_ai_ci | 연결 정렬 규칙 |
collation_database | utf8mb4_0900_ai_ci | 데이터베이스 정렬 규칙 |
collation_server | utf8mb4_0900_ai_ci | 서버 기본 정렬 규칙 |
completion_type | NO_CHAIN | 트랜잭션 완료 후 후속 작업 |
concurrent_insert | AUTO | 동시 삽입 모드 |
connect_timeout | 10 | 연결 타임아웃 (초) |
connection_control_failed_connections_threshold | 3 | 연결 실패 임계값 |
connection_control_max_connection_delay | 2147483647 | 최대 연결 지연 시간 |
connection_control_min_connection_delay | 1000 | 최소 연결 지연 시간 |
connection_memory_chunk_size | 8912 | 연결 메모리 청크 크기 |
connection_memory_limit | 18446744073709551615 (무제한) | 연결 메모리 제한 |
create_admin_listener_thread | OFF | 관리 리스너 스레드 생성 여부 |
cte_max_recursion_depth | 1000 | CTE 최대 재귀 깊이 |
datadir | (설치 경로에 따라 다름) | 데이터 디렉토리 경로 |
debug | (없음) | 디버그 옵션 |
debug_sync | (없음) | 디버그 동기화 옵션 |
default_authentication_plugin | caching_sha2_password | 기본 인증 플러그인 |
default_collation_for_utf8mb4 | utf8mb4_0900_ai_ci | UTF8MB4 기본 정렬 규칙 |
default_password_lifetime | 0 | 기본 비밀번호 수명 (0은 무제한) |
default_storage_engine | InnoDB | 기본 스토리지 엔진 |
default_table_encryption | OFF | 기본 테이블 암호화 여부 |
default_tmp_storage_engine | InnoDB | 기본 임시 테이블 스토리지 엔진 |
default_week_format | 0 | 기본 주 형식 |
delay_key_write | ON | 키 쓰기 지연 여부 |
delayed_insert_limit | 100 | 지연 삽입 제한 |
delayed_insert_timeout | 300 | 지연 삽입 타임아웃 (초) |
delayed_queue_size | 1000 | 지연 큐 크기 |
disabled_storage_engines | (없음) | 비활성화된 스토리지 엔진 |
disconnect_on_expired_password | ON | 만료된 비밀번호 연결 해제 여부 |
div_precision_increment | 4 | 나눗셈 정밀도 증가 |
dragnet.log_error_filter_rules | IF win: DROP IF pri <= 0 ELSE IF pri <= 2: THROTTLE 100 / 300 | 에러 로그 필터 규칙 |
end_markers_in_json | OFF | JSON 끝 마커 사용 여부 |
enforce_gtid_consistency | OFF | GTID 일관성 강제 여부 |
eq_range_index_dive_limit | 200 | 등가 범위 인덱스 다이브 제한 |
error_count | 0 | 에러 수 |
event_scheduler | ON | 이벤트 스케줄러 활성화 여부 |
expire_logs_days | 0 | 로그 만료 일수 (0은 비활성화) |
explicit_defaults_for_timestamp | OFF | 타임스탬프 명시적 기본값 사용 여부 |
external_user | (없음) | 외부 사용자 이름 |
flush | OFF | 플러시 활성화 여부 |
flush_time | 0 | 플러시 시간 간격 |
foreign_key_checks | ON | 외래 키 검사 여부 |
ft_boolean_syntax | + -><()~*:""&| | 전체 텍스트 불리언 구문 |
ft_max_word_len | 84 | 전체 텍스트 최대 단어 길이 |
ft_min_word_len | 4 | 전체 텍스트 최소 단어 길이 |
ft_query_expansion_limit | 20 | 전체 텍스트 쿼리 확장 제한 |
ft_stopword_file | built-in | 전체 텍스트 스톱워드 파일 |
general_log | OFF | 일반 로그 활성화 여부 |
general_log_file | host_name.log | 일반 로그 파일 경로 |
generated_random_password_length | 20 | 생성된 랜덤 비밀번호 길이 |
global_connection_memory_limit | 18446744073709551615 (무제한) | 전역 연결 메모리 제한 |
global_connection_memory_tracking | OFF | 전역 연결 메모리 추적 여부 |
group_concat_max_len | 1048576 (1MB) | GROUP_CONCAT 최대 길이 |
group_replication_consistency | EVENTUAL | 그룹 복제 일관성 수준 |
gtid_executed_compression_period | 1000 | GTID 실행 압축 주기 |
gtid_mode | OFF | GTID 모드 활성화 여부 |
gtid_next | AUTOMATIC | 다음 GTID 값 |
gtid_purged | (없음) | 삭제된 GTID 목록 |
histogram_generation_max_mem_size | 20000000 (20MB) | 히스토그램 생성 최대 메모리 크기 |
host_cache_size | 128 + 네트워크 인터페이스 수 * 2 | 호스트 캐시 크기 |
immediate_server_version | (없음) | 즉시 서버 버전 |
init_connect | (없음) | 연결 초기화 명령 |
init_file | (없음) | 초기화 SQL 파일 경로 |
innodb_adaptive_flushing | ON | InnoDB 적응형 플러싱 여부 |
innodb_adaptive_flushing_lwm | 10 | InnoDB 적응형 플러싱 저수준 마크 |
innodb_adaptive_hash_index | ON | InnoDB 적응형 해시 인덱스 사용 여부 |
innodb_adaptive_max_sleep_delay | 150000 | InnoDB 적응형 최대 슬립 지연 |
innodb_autoextend_increment | 64 | InnoDB 자동 확장 증가량 |
innodb_autoinc_lock_mode | 2 | InnoDB 자동 증가 잠금 모드 |
innodb_buffer_pool_chunk_size | 134217728 (128MB) | InnoDB 버퍼 풀 청크 크기 |
innodb_buffer_pool_dump_at_shutdown | ON | 종료 시 InnoDB 버퍼 풀 덤프 여부 |
innodb_buffer_pool_dump_now | OFF | 즉시 InnoDB 버퍼 풀 덤프 여부 |
innodb_buffer_pool_filename | ib_buffer_pool | InnoDB 버퍼 풀 파일 이름 |
innodb_buffer_pool_in_core_file | ON | 코어 파일에 InnoDB 버퍼 풀 포함 여부 |
innodb_buffer_pool_load_at_startup | ON | 시작 시 InnoDB 버퍼 풀 로드 여부 |
innodb_buffer_pool_load_now | OFF | 즉시 InnoDB 버퍼 풀 로드 여부 |
innodb_buffer_pool_size | 134217728 (128MB) | InnoDB 버퍼 풀 크기 |
innodb_change_buffer_max_size | 25 | InnoDB 변경 버퍼 최대 크기 |
innodb_change_buffering | all | InnoDB 변경 버퍼링 모드 |
innodb_checksum_algorithm | crc32 | InnoDB 체크섬 알고리즘 |
innodb_cmp_per_index_enabled | OFF | 인덱스별 InnoDB 압축 통계 활성화 여부 |
innodb_commit_concurrency | 0 | InnoDB 커밋 동시성 |
innodb_compression_failure_threshold_pct | 5 | InnoDB 압축 실패 임계값 비율 |
innodb_compression_level | 6 | InnoDB 압축 수준 |
innodb_compression_pad_pct_max | 50 | InnoDB 압축 패딩 최대 비율 |
innodb_concurrency_tickets | 5000 | InnoDB 동시성 티켓 수 |
innodb_data_file_path | ibdata1:12M:autoextend | InnoDB 데이터 파일 경로 |
innodb_data_home_dir | (없음) | InnoDB 데이터 홈 디렉토리 |
innodb_ddl_buffer_size | 1048576 (1MB) | InnoDB DDL 버퍼 크기 |
innodb_ddl_log_crash_reset_debug | OFF | InnoDB DDL 로그 크래시 리셋 디버그 여부 |
innodb_ddl_threads | 4 | InnoDB DDL 스레드 수 |
innodb_deadlock_detect | ON | InnoDB 데드락 감지 여부 |
innodb_default_encryption_key_id | 1 | InnoDB 기본 암호화 키 ID |
innodb_default_row_format | dynamic | InnoDB 기본 행 형식 |
innodb_dedicated_server | OFF | InnoDB 전용 서버 모드 여부 |
innodb_directories | (없음) | InnoDB 디렉토리 목록 |
innodb_doublewrite | ON | InnoDB 더블라이트 활성화 여부 |
innodb_doublewrite_batch_size | 0 | InnoDB 더블라이트 배치 크기 |
innodb_doublewrite_dir | (없음) | InnoDB 더블라이트 디렉토리 |
innodb_doublewrite_files | 2 | InnoDB 더블라이트 파일 수 |
innodb_doublewrite_pages | 128 | InnoDB 더블라이트 페이지 수 |
innodb_encrypt_redo_log | OFF | InnoDB 리두 로그 암호화 여부 |
innodb_encrypt_tables | OFF | InnoDB 테이블 암호화 여부 |
innodb_encrypt_temporary_tables | OFF | InnoDB 임시 테이블 암호화 여부 |
innodb_encryption_rotate_key_age | 1 | InnoDB 암호화 키 회전 주기 |
innodb_encryption_rotation_iops | 1000 | InnoDB 암호화 회전 IOPS |
innodb_encryption_threads | 0 | InnoDB 암호화 스레드 수 |
innodb_extend_and_initialize | ON | InnoDB 확장 및 초기화 여부 |
innodb_fast_shutdown | 1 | InnoDB 빠른 종료 모드 |
innodb_file_per_table | ON | InnoDB 파일당 테이블 사용 여부 |
innodb_fill_factor | 100 | InnoDB 채움 비율 |
innodb_flush_log_at_timeout | 1 | InnoDB 로그 플러시 타임아웃 |
innodb_flush_log_at_trx_commit | 1 | InnoDB 트랜잭션 커밋 시 로그 플러시 |
innodb_flush_method | (플랫폼에 따라 다름) | InnoDB 플러시 방법 |
innodb_flush_neighbors | 0 | InnoDB 인접 페이지 플러시 여부 |
innodb_flush_sync | ON | InnoDB 플러시 동기화 여부 |
innodb_flushing_avg_loops | 30 | InnoDB 플러싱 평균 루프 |
innodb_force_load_corrupted | OFF | InnoDB 손상된 데이터 강제 로드 여부 |
innodb_force_primary_key | OFF | InnoDB 기본 키 강제 여부 |
innodb_force_recovery | 0 | InnoDB 강제 복구 모드 |
innodb_fsync_threshold | 0 | InnoDB fsync 임계값 |
innodb_ft_aux_table | (없음) | InnoDB 전체 텍스트 보조 테이블 |
innodb_ft_cache_size | 8000000 (8MB) | InnoDB 전체 텍스트 캐시 크기 |
innodb_ft_enable_diag_print | OFF | InnoDB 전체 텍스트 진단 출력 여부 |
innodb_ft_enable_stopword | ON | InnoDB 전체 텍스트 스톱워드 사용 여부 |
innodb_ft_max_token_size | 84 | InnoDB 전체 텍스트 최대 토큰 크기 |
innodb_ft_min_token_size | 3 | InnoDB 전체 텍스트 최소 토큰 크기 |
innodb_ft_num_word_optimize | 2000 | InnoDB 전체 텍스트 단어 최적화 수 |
innodb_ft_result_cache_limit | 2000000000 (2GB) | InnoDB 전체 텍스트 결과 캐시 제한 |
innodb_ft_server_stopword_table | (없음) | InnoDB 전체 텍스트 서버 스톱워드 테이블 |
innodb_ft_sort_pll_degree | 2 | InnoDB 전체 텍스트 정렬 병렬 수준 |
innodb_ft_user_stopword_table | (없음) | InnoDB 전체 텍스트 사용자 스톱워드 테이블 |
innodb_idle_flush_pct | 100 | InnoDB 유휴 플러시 비율 |
innodb_immediate_scrub_data_uncompressed | OFF | InnoDB 비압축 데이터 즉시 스크럽 여부 |
innodb_instant_alter_column_allowed | add_last | InnoDB 즉시 열 변경 허용 범위 |
innodb_io_capacity | 200 | InnoDB I/O 용량 |
innodb_io_capacity_max | 2000 | InnoDB 최대 I/O 용량 |
innodb_limit_optimistic_insert_debug | 0 | InnoDB 낙관적 삽입 디버그 제한 |
innodb_lock_wait_timeout | 50 | InnoDB 잠금 대기 타임아웃 (초) |
innodb_log_buffer_size | 16777216 (16MB) | InnoDB 로그 버퍼 크기 |
innodb_log_checksums | ON | InnoDB 로그 체크섬 사용 여부 |
innodb_log_compressed_pages | ON | InnoDB 압축 페이지 로깅 여부 |
innodb_log_file_size | 50331648 (48MB) | InnoDB 로그 파일 크기 |
innodb_log_files_in_group | 2 | InnoDB 로그 파일 그룹 내 파일 수 |
innodb_log_group_home_dir | (없음) | InnoDB 로그 그룹 홈 디렉토리 |
innodb_log_spin_cpu_abs_lwm | 80 | InnoDB 로그 스핀 CPU 절대 저수준 마크 |
innodb_log_spin_cpu_pct_hwm | 50 | InnoDB 로그 스핀 CPU 비율 고수준 마크 |
innodb_log_wait_for_flush_spin_hwm | 400 | InnoDB 로그 플러시 대기 스핀 고수준 마크 |
innodb_log_write_ahead_size | 8192 (8KB) | InnoDB 로그 쓰기 선행 크기 |
innodb_log_writer_threads | ON | InnoDB 로그 라이터 스레드 사용 여부 |
innodb_lru_scan_depth | 1024 | InnoDB LRU 스캔 깊이 |
innodb_max_dirty_pages_pct | 90.0 | InnoDB 최대 더티 페이지 비율 |
innodb_max_dirty_pages_pct_lwm | 10.0 | InnoDB 최대 더티 페이지 저수준 마크 |
innodb_max_purge_lag | 0 | InnoDB 최대 퍼지 지연 |
innodb_max_purge_lag_delay | 0 | InnoDB 최대 퍼지 지연 시간 |
innodb_max_undo_log_size | 1073741824 (1GB) | InnoDB 최대 언두 로그 크기 |
innodb_monitor_disable | (없음) | InnoDB 모니터 비활성화 |
innodb_monitor_enable | (없음) | InnoDB 모니터 활성화 |
innodb_old_blocks_pct | 37 | InnoDB 오래된 블록 비율 |
innodb_old_blocks_time | 1000 | InnoDB 오래된 블록 시간 |
innodb_online_alter_log_max_size | 134217728 (128MB) | InnoDB 온라인 변경 로그 최대 크기 |
innodb_open_files | 4000 | InnoDB 열린 파일 수 |
innodb_optimize_fulltext_only | OFF | InnoDB 전체 텍스트만 최적화 여부 |
innodb_page_cleaners | 4 | InnoDB 페이지 클리너 수 |
innodb_page_size | 16384 (16KB) | InnoDB 페이지 크기 |
innodb_print_all_deadlocks | OFF | InnoDB 모든 데드락 출력 여부 |
innodb_print_ddl_logs | OFF | InnoDB DDL 로그 출력 여부 |
innodb_print_lock_wait_timeout_info | OFF | InnoDB 잠금 대기 타임아웃 정보 출력 여부 |
innodb_purge_batch_size | 300 | InnoDB 퍼지 배치 크기 |
innodb_purge_rseg_truncate_frequency | 128 | InnoDB 퍼지 롤백 세그먼트 트렁케이트 주기 |
innodb_purge_threads | 4 | InnoDB 퍼지 스레드 수 |
innodb_random_read_ahead | OFF | InnoDB 랜덤 읽기 선행 여부 |
innodb_read_ahead_threshold | 56 | InnoDB 읽기 선행 임계값 |
innodb_read_io_threads | 4 | InnoDB 읽기 I/O 스레드 수 |
innodb_read_only | OFF | InnoDB 읽기 전용 모드 여부 |
innodb_redo_log_archive_dirs | (없음) | InnoDB 리두 로그 아카이브 디렉토리 |
innodb_redo_log_capacity | 104857600 (100MB) | InnoDB 리두 로그 용량 |
innodb_redo_log_encrypt | OFF | InnoDB 리두 로그 암호화 여부 |
innodb_replication_delay | 0 | InnoDB 복제 지연 시간 |
innodb_rollback_on_timeout | OFF | InnoDB 타임아웃 시 롤백 여부 |
innodb_rollback_segments | 128 | InnoDB 롤백 세그먼트 수 |
innodb_saved_page_access | OFF | InnoDB 저장 페이지 접근 활성화 여부 |
innodb_segment_reserve_factor | 12.5 | InnoDB 세그먼트 예약 비율 |
innodb_sort_buffer_size | 1048576 (1MB) | InnoDB 정렬 버퍼 크기 |
innodb_spin_wait_delay | 6 | InnoDB 스핀 대기 지연 |
innodb_spin_wait_pause_multiplier | 50 | InnoDB 스핀 대기 일시 중지 배율 |
innodb_stats_auto_recalc | ON | InnoDB 통계 자동 재계산 여부 |
innodb_stats_include_delete_marked | OFF | InnoDB 삭제 표시 포함 통계 여부 |
innodb_stats_method | nulls_equal | InnoDB 통계 계산 방법 |
innodb_stats_on_metadata | OFF | InnoDB 메타데이터 통계 수집 여부 |
innodb_stats_persistent | ON | InnoDB 영구 통계 사용 여부 |
innodb_stats_persistent_sample_pages | 20 | InnoDB 영구 통계 샘플 페이지 수 |
innodb_stats_transient_sample_pages | 8 | InnoDB 일시 통계 샘플 페이지 수 |
innodb_status_output | OFF | InnoDB 상태 출력 여부 |
innodb_status_output_locks | OFF | InnoDB 잠금 상태 출력 여부 |
innodb_strict_mode | ON | InnoDB 엄격 모드 여부 |
innodb_sync_array_size | 1 | InnoDB 동기화 배열 크기 |
innodb_sync_spin_loops | 30 | InnoDB 동기화 스핀 루프 |
innodb_table_locks | ON | InnoDB 테이블 잠금 사용 여부 |
innodb_temp_data_file_path | ibtmp1:12M:autoextend | InnoDB 임시 데이터 파일 경로 |
innodb_temp_tablespaces_dir | (datadir 내 ./#innodb_temp/) | InnoDB 임시 테이블스페이스 디렉토리 |
innodb_thread_concurrency | 0 | InnoDB 스레드 동시성 |
innodb_thread_sleep_delay | 10000 | InnoDB 스레드 슬립 지연 |
innodb_tmpdir | (없음) | InnoDB 임시 디렉토리 |
innodb_trx_purge_view_update_only_debug | OFF | InnoDB 트랜잭션 퍼지 뷰 업데이트 디버그 |
innodb_trx_rseg_n_slots_debug | 0 | InnoDB 트랜잭션 롤백 세그먼트 슬롯 디버그 |
innodb_undo_directory | (없음) | InnoDB 언두 디렉토리 |
innodb_undo_log_encrypt | OFF | InnoDB 언두 로그 암호화 여부 |
innodb_undo_log_truncate | ON | InnoDB 언두 로그 트렁케이트 여부 |
innodb_undo_tablespaces | 2 | InnoDB 언두 테이블스페이스 수 |
innodb_use_fdatasync | OFF | InnoDB fdatasync 사용 여부 |
innodb_use_native_aio | ON | InnoDB 네이티브 AIO 사용 여부 |
innodb_validate_tablespace_paths | ON | InnoDB 테이블스페이스 경로 검증 여부 |
innodb_write_io_threads | 4 | InnoDB 쓰기 I/O 스레드 수 |
insert_immediate_threshold | 1000000 | 즉시 삽입 임계값 |
internal_tmp_mem_storage_engine | TempTable | 내부 임시 메모리 스토리지 엔진 |
join_buffer_size | 262144 (256KB) | 조인 버퍼 크기 |
keep_files_on_create | OFF | 생성 시 파일 유지 여부 |
key_buffer_size | 8388608 (8MB) | 키 버퍼 크기 |
key_cache_age_threshold | 300 | 키 캐시 에이징 임계값 |
key_cache_block_size | 1024 (1KB) | 키 캐시 블록 크기 |
key_cache_division_limit | 100 | 키 캐시 분할 제한 |
keyring_aws_cmk_id | (없음) | AWS 키링 CMK ID |
keyring_aws_region | (없음) | AWS 키링 리전 |
keyring_encrypted_file_data | (없음) | 키링 암호화 파일 데이터 |
keyring_encrypted_file_password | (없음) | 키링 암호화 파일 비밀번호 |
keyring_file_data | (없음) | 키링 파일 데이터 경로 |
keyring_hashicorp_auth_path | (없음) | HashiCorp 키링 인증 경로 |
keyring_hashicorp_ca_path | (없음) | HashiCorp 키링 CA 경로 |
keyring_hashicorp_role_id | (없음) | HashiCorp 키링 역할 ID |
keyring_hashicorp_secret_id | (없음) | HashiCorp 키링 비밀 ID |
keyring_hashicorp_server_url | (없음) | HashiCorp 키링 서버 URL |
keyring_hashicorp_store_path | (없음) | HashiCorp 키링 저장 경로 |
keyring_oci_ca_file | (없음) | OCI 키링 CA 파일 |
keyring_oci_compartment | (없음) | OCI 키링 컴파트먼트 |
keyring_oci_encryption_endpoint | (없음) | OCI 키링 암호화 엔드포인트 |
keyring_oci_key_file | (없음) | OCI 키링 키 파일 |
keyring_oci_management_endpoint | (없음) | OCI 키링 관리 엔드포인트 |
keyring_oci_master_key | (없음) | OCI 키링 마스터 키 |
keyring_oci_secrets_endpoint | (없음) | OCI 키링 비밀 엔드포인트 |
keyring_oci_tenancy | (없음) | OCI 키링 테넌시 |
keyring_oci_user | (없음) | OCI 키링 사용자 |
keyring_oci_vaults_endpoint | (없음) | OCI 키링 볼트 엔드포인트 |
keyring_oci_virtual_vault | (없음) | OCI 키링 가상 볼트 |
keyring_okv_conf_dir | (없음) | OKV 키링 설정 디렉토리 |
large_files_support | ON | 대용량 파일 지원 여부 |
large_page_size | 0 | 대용량 페이지 크기 |
large_pages | OFF | 대용량 페이지 사용 여부 |
lc_messages | en_US | 로케일 메시지 |
lc_messages_dir | (설치 경로에 따라 다름) | 로케일 메시지 디렉토리 |
lc_time_names | en_US | 로케일 시간 이름 |
local_infile | ON | 로컬 파일 로드 허용 여부 |
lock_wait_timeout | 31536000 (1년) | 잠금 대기 타임아웃 (초) |
log_bin | OFF | 바이너리 로깅 활성화 여부 |
log_bin_basename | (없음) | 바이너리 로그 기본 이름 |
log_bin_index | (없음) | 바이너리 로그 인덱스 파일 |
log_bin_trust_function_creators | OFF | 바이너리 로그 함수 생성자 신뢰 여부 |
log_bin_use_v1_row_events | OFF | 바이너리 로그 V1 행 이벤트 사용 여부 |
log_error | (플랫폼에 따라 다름) | 에러 로그 파일 경로 |
log_error_filter_rules | (없음) | 에러 로그 필터 규칙 |
log_error_services | log_filter_internal; log_sink_internal | 에러 로그 서비스 |
log_error_suppression_list | (없음) | 에러 로그 억제 목록 |
log_error_verbosity | 2 | 에러 로그 상세도 |
log_output | FILE | 로그 출력 대상 |
log_queries_not_using_indexes | OFF | 인덱스 미사용 쿼리 로깅 여부 |
log_raw | OFF | 원시 로그 활성화 여부 |
log_replica_updates | ON | 복제본 업데이트 로깅 여부 |
log_slow_admin_statements | OFF | 느린 관리 명령 로깅 여부 |
log_slow_extra | OFF | 느린 쿼리 추가 정보 로깅 여부 |
log_slow_replica_statements | OFF | 느린 복제본 명령 로깅 여부 |
log_slow_slave_statements | OFF | 느린 슬레이브 명령 로깅 여부 |
log_statements_unsafe_for_binlog | ON | 바이너리 로그에 안전하지 않은 명령 로깅 |
log_syslog | OFF | 시스템 로그 사용 여부 |
log_syslog_facility | daemon | 시스템 로그 설비 |
log_syslog_include_pid | ON | 시스템 로그에 PID 포함 여부 |
log_syslog_tag | (없음) | 시스템 로그 태그 |
log_throttle_queries_not_using_indexes | 0 | 인덱스 미사용 쿼리 제한 |
log_timestamps | UTC | 로그 타임스탬프 시간대 |
long_query_time | 10.000000 (10초) | 느린 쿼리 기준 시간 |
low_priority_updates | OFF | 낮은 우선순위 업데이트 사용 여부 |
lower_case_file_system | (플랫폼에 따라 다름) | 파일 시스템 대소문자 구분 여부 |
lower_case_table_names | 0 | 테이블 이름 대소문자 처리 |
mandatory_roles | (없음) | 필수 역할 |
max_allowed_packet | 67108864 (64MB) | 최대 허용 패킷 크기 |
max_binlog_cache_size | 18446744073709547520 | 최대 바이너리 로그 캐시 크기 |
max_binlog_size | 1073741824 (1GB) | 최대 바이너리 로그 크기 |
max_binlog_stmt_cache_size | 18446744073709547520 | 최대 바이너리 로그 문 캐시 크기 |
max_connect_errors | 100 | 최대 연결 에러 수 |
max_connections | 151 | 최대 동시 연결 수 |
max_delayed_threads | 20 | 최대 지연 스레드 수 |
max_digest_length | 1024 | 최대 다이제스트 길이 |
max_error_count | 1024 | 최대 에러 수 |
max_execution_time | 0 | 쿼리 최대 실행 시간 (0은 무제한) |
max_heap_table_size | 16777216 (16MB) | 최대 힙 테이블 크기 |
max_insert_delayed_threads | 20 | 최대 지연 삽입 스레드 수 |
max_join_size | 18446744073709551615 (무제한) | 최대 조인 크기 |
max_length_for_sort_data | 4096 | 정렬 데이터 최대 길이 |
max_points_in_geometry | 1048576 | 지오메트리 최대 포인트 수 |
max_prepared_stmt_count | 16382 | 최대 준비된 문 수 |
max_relay_log_size | 0 | 최대 릴레이 로그 크기 |
max_seeks_for_key | 18446744073709551615 (무제한) | 키 탐색 최대 횟수 |
max_sort_length | 1024 | 최대 정렬 길이 |
max_sp_recursion_depth | 0 | 최대 저장 프로시저 재귀 깊이 |
max_tmp_tables | 0 | 최대 임시 테이블 수 |
max_user_connections | 0 | 사용자당 최대 연결 수 (0은 무제한) |
max_write_lock_count | 18446744073709551615 (무제한) | 최대 쓰기 잠금 수 |
mecab_rc_file | (플랫폼에 따라 다름) | MeCab 설정 파일 경로 |
min_examined_row_limit | 0 | 최소 검사 행 제한 |
multi_range_count | 256 | 다중 범위 수 |
myisam_data_pointer_size | 6 | MyISAM 데이터 포인터 크기 |
myisam_max_sort_file_size | 9223372036854775807 | MyISAM 최대 정렬 파일 크기 |
myisam_mmap_size | 18446744073709551615 (무제한) | MyISAM 메모리 매핑 크기 |
myisam_recover_options | OFF | MyISAM 복구 옵션 |
myisam_repair_threads | 1 | MyISAM 복구 스레드 수 |
myisam_sort_buffer_size | 8388608 (8MB) | MyISAM 정렬 버퍼 크기 |
myisam_stats_method | nulls_unequal | MyISAM 통계 계산 방법 |
myisam_use_mmap | OFF | MyISAM 메모리 매핑 사용 여부 |
mysql_firewall_mode | ON | MySQL 방화벽 모드 |
mysql_firewall_trace | OFF | MySQL 방화벽 추적 여부 |
mysql_native_password_proxy_users | OFF | MySQL 네이티브 비밀번호 프록시 사용자 |
mysqlx_bind_address | * | MySQL X 프로토콜 바인드 주소 |
mysqlx_connect_timeout | 30 | MySQL X 연결 타임아웃 (초) |
mysqlx_deflate_default_compression_level | 3 | MySQL X Deflate 기본 압축 수준 |
mysqlx_deflate_max_client_compression_level | 5 | MySQL X Deflate 최대 클라이언트 압축 수준 |
mysqlx_document_id_unique_prefix | 0 | MySQL X 문서 ID 고유 접두사 |
mysqlx_enable_hello_notice | ON | MySQL X 헬로 알림 활성화 여부 |
mysqlx_idle_worker_thread_timeout | 60 | MySQL X 유휴 워커 스레드 타임아웃 |
mysqlx_interactive_timeout | 28800 | MySQL X 대화형 타임아웃 |
mysqlx_lz4_default_compression_level | 2 | MySQL X LZ4 기본 압축 수준 |
mysqlx_lz4_max_client_compression_level | 8 | MySQL X LZ4 최대 클라이언트 압축 수준 |
mysqlx_max_allowed_packet | 67108864 (64MB) | MySQL X 최대 허용 패킷 크기 |
mysqlx_max_connections | 100 | MySQL X 최대 연결 수 |
mysqlx_min_worker_threads | 2 | MySQL X 최소 워커 스레드 수 |
mysqlx_port | 33060 | MySQL X 포트 번호 |
mysqlx_port_open_timeout | 0 | MySQL X 포트 열기 타임아웃 |
mysqlx_read_timeout | 30 | MySQL X 읽기 타임아웃 (초) |
mysqlx_socket | /tmp/mysqlx.sock | MySQL X 소켓 파일 경로 |
mysqlx_ssl_ca | (없음) | MySQL X SSL CA 파일 경로 |
mysqlx_ssl_capath | (없음) | MySQL X SSL CA 디렉토리 경로 |
mysqlx_ssl_cert | (없음) | MySQL X SSL 인증서 파일 경로 |
mysqlx_ssl_cipher | (없음) | MySQL X SSL 암호 목록 |
mysqlx_ssl_crl | (없음) | MySQL X SSL CRL 파일 경로 |
mysqlx_ssl_key | (없음) | MySQL X SSL 키 파일 경로 |
mysqlx_wait_timeout | 28800 | MySQL X 대기 타임아웃 |
mysqlx_write_timeout | 60 | MySQL X 쓰기 타임아웃 (초) |
mysqlx_zstd_default_compression_level | 3 | MySQL X Zstd 기본 압축 수준 |
mysqlx_zstd_max_client_compression_level | 11 | MySQL X Zstd 최대 클라이언트 압축 수준 |
ndb-allow-copying-alter-table | (없음) | NDB ALTER TABLE 복사 허용 여부 |
ndb_autoincrement_prefetch_sz | 1 | NDB 자동 증가 프리페치 크기 |
ndb_blob_read_batch_bytes | 65536 | NDB BLOB 읽기 배치 바이트 |
ndb_blob_write_batch_bytes | 65536 | NDB BLOB 쓰기 배치 바이트 |
ndb_cache_check_time | (없음) | NDB 캐시 확인 시간 |
ndb_clear_apply_status | (없음) | NDB 적용 상태 초기화 여부 |
ndb_data_node_neighbour | (없음) | NDB 데이터 노드 이웃 |
ndb_default_column_format | (없음) | NDB 기본 열 형식 |
ndb_deferred_constraints | (없음) | NDB 지연 제약 조건 |
ndb_distribution | (없음) | NDB 분산 방식 |
ndb_eventbuffer_free_percent | (없음) | NDB 이벤트 버퍼 여유 비율 |
ndb_eventbuffer_max_alloc | (없음) | NDB 이벤트 버퍼 최대 할당 |
ndb_extra_logging | (없음) | NDB 추가 로깅 |
ndb_force_send | (없음) | NDB 강제 전송 여부 |
ndb_fully_replicated | (없음) | NDB 완전 복제 여부 |
ndb_index_stat_enable | (없음) | NDB 인덱스 통계 활성화 여부 |
ndb_index_stat_option | (없음) | NDB 인덱스 통계 옵션 |
ndb_join_pushdown | (없음) | NDB 조인 푸시다운 여부 |
ndb_log_bin | (없음) | NDB 바이너리 로깅 여부 |
ndb_log_exclusive_reads | (없음) | NDB 독점 읽기 로깅 여부 |
ndb_log_update_as_write | (없음) | NDB 업데이트를 쓰기로 로깅 여부 |
ndb_log_updated_only | (없음) | NDB 업데이트만 로깅 여부 |
ndb_optimization_delay | (없음) | NDB 최적화 지연 |
ndb_read_backup | (없음) | NDB 읽기 백업 여부 |
ndb_recv_thread_activation_threshold | (없음) | NDB 수신 스레드 활성화 임계값 |
ndb_recv_thread_cpu_mask | (없음) | NDB 수신 스레드 CPU 마스크 |
ndb_row_checksum | (없음) | NDB 행 체크섬 |
ndb_show_foreign_key_mock_tables | (없음) | NDB 외래 키 모의 테이블 표시 여부 |
ndb_slave_last_conflict_epoch | (없음) | NDB 슬레이브 마지막 충돌 에포크 |
ndb_table_no_logging | (없음) | NDB 테이블 로깅 비활성화 여부 |
ndb_table_temporary | (없음) | NDB 테이블 임시 여부 |
ndb_use_copying_alter_table | (없음) | NDB ALTER TABLE 복사 사용 여부 |
ndb_use_exact_count | (없음) | NDB 정확한 카운트 사용 여부 |
ndb_use_transactions | (없음) | NDB 트랜잭션 사용 여부 |
ndb_wait_setup | (없음) | NDB 설정 대기 시간 |
ndbinfo_database | (없음) | NDBINFO 데이터베이스 |
ndbinfo_max_bytes | (없음) | NDBINFO 최대 바이트 |
ndbinfo_max_rows | (없음) | NDBINFO 최대 행 |
ndbinfo_offline | (없음) | NDBINFO 오프라인 여부 |
ndbinfo_show_hidden | (없음) | NDBINFO 숨김 표시 여부 |
ndbinfo_table_prefix | (없음) | NDBINFO 테이블 접두사 |
ndbinfo_version | (없음) | NDBINFO 버전 |
net_buffer_length | 16384 (16KB) | 네트워크 버퍼 길이 |
net_read_timeout | 30 | 네트워크 읽기 타임아웃 (초) |
net_retry_count | 10 | 네트워크 재시도 횟수 |
net_write_timeout | 60 | 네트워크 쓰기 타임아웃 (초) |
new | OFF | 신규 모드 활성화 여부 |
ngram_token_size | 2 | Ngram 토큰 크기 |
offline_mode | OFF | 오프라인 모드 여부 |
old | OFF | 구 모드 활성화 여부 |
old_alter_table | OFF | 구 ALTER TABLE 사용 여부 |
open_files_limit | 5000 | 열린 파일 제한 |
optimizer_prune_level | 1 | 옵티마이저 가지치기 수준 |
optimizer_search_depth | 62 | 옵티마이저 검색 깊이 |
optimizer_switch | index_merge=on,index_merge_union=on,... (긴 문자열, 문서 참조) | 옵티마이저 스위치 설정 |
optimizer_trace | (없음) | 옵티마이저 추적 설정 |
optimizer_trace_features | (없음) | 옵티마이저 추적 기능 |
optimizer_trace_limit | 1 | 옵티마이저 추적 제한 |
optimizer_trace_max_mem_size | 1048576 (1MB) | 옵티마이저 추적 최대 메모리 크기 |
optimizer_trace_offset | -1 | 옵티마이저 추적 오프셋 |
original_commit_timestamp | (없음) | 원본 커밋 타임스탬프 |
original_server_version | (없음) | 원본 서버 버전 |
parser_max_mem_size | 18446744073709551615 (무제한) | 파서 최대 메모리 크기 |
partial_revokes | OFF | 부분 철회 활성화 여부 |
password_history | 0 | 비밀번호 히스토리 유지 개수 |
password_require_current | OFF | 현재 비밀번호 요구 여부 |
password_reuse_interval | 0 | 비밀번호 재사용 간격 |
performance_schema | ON | 퍼포먼스 스키마 활성화 여부 |
performance_schema_... | (수많은 변수, 기본값은 문서 참조) | 다양한 퍼포먼스 스키마 세부 설정 |
persist_only_admin_x509_subject | (없음) | 영구 관리 X509 주체 |
persisted_globals_load | ON | 영구 전역 변수 로드 여부 |
pid_file | (플랫폼에 따라 다름) | PID 파일 경로 |
plugin_dir | (설치 경로에 따라 다름) | 플러그인 디렉토리 경로 |
port | 3306 | 서버 포트 번호 |
preload_buffer_size | 32768 (32KB) | 프리로드 버퍼 크기 |
print_identified_with_as_hex | OFF | 식별자 16진수 출력 여부 |
protocol_compression_algorithms | zlib,zstd,uncompressed | 프로토콜 압축 알고리즘 |
protocol_version | 10 | 프로토콜 버전 |
proxy_user | (없음) | 프록시 사용자 이름 |
pseudo_replica_mode | OFF | 의사 복제 모드 여부 |
pseudo_slave_mode | OFF | 의사 슬레이브 모드 여부 |
query_alloc_block_size | 8192 (8KB) | 쿼리 할당 블록 크기 |
query_prealloc_size | 8192 (8KB) | 쿼리 사전 할당 크기 |
rand_seed1 | 0 | 랜덤 시드 1 |
rand_seed2 | 0 | 랜덤 시드 2 |
range_alloc_block_size | 4096 | 범위 할당 블록 크기 |
range_optimizer_max_mem_size | 8388608 (8MB) | 범위 옵티마이저 최대 메모리 크기 |
rbr_exec_mode | STRICT | 행 기반 복제 실행 모드 |
read_buffer_size | 131072 (128KB) | 읽기 버퍼 크기 |
read_only | OFF | 읽기 전용 모드 여부 |
read_rnd_buffer_size | 262144 (256KB) | 랜덤 읽기 버퍼 크기 |
regexp_stack_limit | 8000000 (8MB) | 정규식 스택 제한 |
regexp_time_limit | 32 | 정규식 시간 제한 |
relay_log | (없음) | 릴레이 로그 파일 경로 |
relay_log_basename | (없음) | 릴레이 로그 기본 이름 |
relay_log_index | (없음) | 릴레이 로그 인덱스 파일 |
relay_log_info_file | relay-log.info | 릴레이 로그 정보 파일 |
relay_log_purge | ON | 릴레이 로그 퍼지 여부 |
relay_log_recovery | OFF | 릴레이 로그 복구 여부 |
relay_log_space_limit | 0 | 릴레이 로그 공간 제한 |
replica_allow_batching | (없음) | 복제 배치 허용 여부 |
replica_checkpoint_group | (없음) | 복제 체크포인트 그룹 |
replica_checkpoint_period | (없음) | 복제 체크포인트 주기 |
replica_compressed_protocol | (없음) | 복제 압축 프로토콜 사용 여부 |
replica_exec_mode | (없음) | 복제 실행 모드 |
replica_load_tmpdir | (없음) | 복제 임시 디렉토리 |
replica_max_allowed_packet | (없음) | 복제 최대 허용 패킷 크기 |
replica_net_timeout | (없음) | 복제 네트워크 타임아웃 |
replica_parallel_type | (없음) | 복제 병렬 유형 |
replica_parallel_workers | (없음) | 복제 병렬 워커 수 |
replica_pending_jobs_size_max | (없음) | 복제 대기 작업 최대 크기 |
replica_preserve_commit_order | (없음) | 복제 커밋 순서 보존 여부 |
replica_skip_errors | (없음) | 복제 오류 건너뛰기 |
replica_sql_verify_checksum | (없음) | 복제 SQL 체크섬 검증 여부 |
replica_transaction_retries | (없음) | 복제 트랜잭션 재시도 횟수 |
replica_type_conversions | (없음) | 복제 유형 변환 |
replication_sender_observe_commit_only | (없음) | 복제 전송자 커밋 관찰 여부 |
require_row_format | OFF | 행 형식 요구 여부 |
require_secure_transport | OFF | 보안 전송 요구 여부 |
resultset_metadata | FULL | 결과셋 메타데이터 수준 |
rpl_read_size | 8192 (8KB) | 복제 읽기 크기 |
rpl_semi_sync_master_enabled | (없음) | 반동기 마스터 활성화 여부 |
rpl_semi_sync_master_timeout | (없음) | 반동기 마스터 타임아웃 |
rpl_semi_sync_master_trace_level | (없음) | 반동기 마스터 추적 수준 |
rpl_semi_sync_master_wait_for_slave_count | (없음) | 반동기 마스터 슬레이브 대기 수 |
rpl_semi_sync_master_wait_no_slave | (없음) | 반동기 마스터 슬레이브 없음 대기 여부 |
rpl_semi_sync_master_wait_point | (없음) | 반동기 마스터 대기 지점 |
rpl_semi_sync_replica_enabled | (없음) | 반동기 복제본 활성화 여부 |
rpl_semi_sync_replica_trace_level | (없음) | 반동기 복제본 추적 수준 |
rpl_stop_replica_timeout | (없음) | 복제본 중지 타임아웃 |
secondary_engine_cost_threshold | 0 | 보조 엔진 비용 임계값 |
secure_file_priv | (설정에 따라 다름) | 보안 파일 권한 디렉토리 |
select_into_buffer_size | 131072 (128KB) | SELECT INTO 버퍼 크기 |
select_into_disk_sync | OFF | SELECT INTO 디스크 동기화 여부 |
select_into_disk_sync_delay | 0 | SELECT INTO 디스크 동기화 지연 |
server_id | 0 | 서버 ID |
server_uuid | (자동 생성) | 서버 UUID |
session_memory_limit | 18446744073709551615 (무제한) | 세션 메모리 제한 |
session_track_gtids | OFF | 세션 GTID 추적 여부 |
session_track_schema | ON | 세션 스키마 추적 여부 |
session_track_state_change | OFF | 세션 상태 변경 추적 여부 |
session_track_system_variables | time_zone,autocommit,character_set_client,collation_connection,character_set_results | 세션 시스템 변수 추적 |
session_track_transaction_info | OFF | 세션 트랜잭션 정보 추적 여부 |
sha256_password_auto_generate_rsa_keys | ON | SHA256 비밀번호 RSA 키 자동 생성 여부 |
sha256_password_private_key_path | private_key.pem | SHA256 비밀번호 개인 키 경로 |
sha256_password_proxy_users | OFF | SHA256 비밀번호 프록시 사용자 |
sha256_password_public_key_path | public_key.pem | SHA256 비밀번호 공개 키 경로 |
show_create_table_skip_secondary_engine | OFF | CREATE TABLE에서 보조 엔진 생략 여부 |
show_create_table_verbosity | OFF | CREATE TABLE 상세도 |
show_gipk_in_create_table_and_information_schema | ON | GIPK 표시 여부 |
show_old_temporals | OFF | 구 시간 데이터 표시 여부 |
skip_external_locking | ON | 외부 잠금 건너뛰기 여부 |
skip_name_resolve | OFF | 이름 해석 건너뛰기 여부 |
skip_networking | OFF | 네트워킹 비활성화 여부 |
skip_show_database | OFF | SHOW DATABASE 건너뛰기 여부 |
slow_launch_time | 2 | 느린 시작 시간 (초) |
slow_query_log | OFF | 느린 쿼리 로그 활성화 여부 |
slow_query_log_file | host_name-slow.log | 느린 쿼리 로그 파일 경로 |
socket | (플랫폼에 따라 다름) | 유닉스 소켓 파일 경로 |
sort_buffer_size | 262144 (256KB) | 정렬 버퍼 크기 |
source_verify_checksum | OFF | 소스 체크섬 검증 여부 |
sql_auto_is_null | OFF | 자동 IS NULL 사용 여부 |
sql_big_selects | ON | 큰 SELECT 허용 여부 |
sql_buffer_result | OFF | SQL 결과 버퍼링 여부 |
sql_generate_invisible_primary_key | OFF | 보이지 않는 기본 키 생성 여부 |
sql_log_bin | ON | SQL 바이너리 로깅 여부 |
sql_log_off | OFF | SQL 로깅 비활성화 여부 |
sql_mode | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION | SQL 동작 모드 |
sql_notes | ON | SQL 노트 활성화 여부 |
sql_quote_show_create | ON | SHOW CREATE에서 따옴표 사용 여부 |
sql_replica_skip_counter | (없음) | 복제본 건너뛰기 카운터 |
sql_require_primary_key | OFF | 기본 키 요구 여부 |
sql_safe_updates | OFF | 안전 업데이트 모드 여부 |
sql_select_limit | 18446744073709551615 (무제한) | SELECT 제한 행 수 |
sql_warnings | OFF | SQL 경고 활성화 여부 |
ssl_ca | (없음) | SSL CA 파일 경로 |
ssl_capath | (없음) | SSL CA 디렉토리 경로 |
ssl_cert | (없음) | SSL 인증서 파일 경로 |
ssl_cipher | (없음) | SSL 암호 목록 |
ssl_crl | (없음) | SSL CRL 파일 경로 |
ssl_crlpath | (없음) | SSL CRL 디렉토리 경로 |
ssl_fips_mode | OFF | SSL FIPS 모드 |
ssl_key | (없음) | SSL 키 파일 경로 |
ssl_session_cache_mode | ON | SSL 세션 캐시 모드 |
ssl_session_cache_timeout | 300 | SSL 세션 캐시 타임아웃 (초) |
sync_binlog | 1 | 바이너리 로그 동기화 주기 |
sync_frm | (없음) | FRM 파일 동기화 여부 |
sync_master_info | (없음) | 마스터 정보 동기화 주기 |
sync_relay_log | (없음) | 릴레이 로그 동기화 주기 |
sync_relay_log_info | (없음) | 릴레이 로그 정보 동기화 주기 |
sync_source_info | (없음) | 소스 정보 동기화 주기 |
system_time_zone | (플랫폼에 따라 다름) | 시스템 시간대 |
table_definition_cache | 2000 | 테이블 정의 캐시 크기 |
table_encryption_privilege_check | OFF | 테이블 암호화 권한 검사 여부 |
table_open_cache | 4000 | 열린 테이블 캐시 크기 |
table_open_cache_instances | 16 | 열린 테이블 캐시 인스턴스 수 |
tablespace_definition_cache | 256 | 테이블스페이스 정의 캐시 크기 |
temptable_max_mmap | 1073741824 (1GB) | Temptable 최대 메모리 매핑 크기 |
temptable_max_ram | 1073741824 (1GB) | Temptable 최대 RAM 크기 |
temptable_use_mmap | ON | Temptable 메모리 매핑 사용 여부 |
thread_cache_size | 9 (최소값, 자동 조정됨) | 스레드 캐시 크기 |
thread_concurrency | (없음) | 스레드 동시성 |
thread_handling | one-thread-per-connection | 스레드 처리 방식 |
thread_pool_algorithm | 0 | 스레드 풀 알고리즘 |
thread_pool_dedicated_listeners | OFF | 스레드 풀 전용 리스너 여부 |
thread_pool_high_priority_connection | 0 | 스레드 풀 높은 우선순위 연결 |
thread_pool_max_active_query_threads | 0 | 스레드 풀 최대 활성 쿼리 스레드 수 |
thread_pool_max_transactions_limit | 0 | 스레드 풀 최대 트랜잭션 제한 |
thread_pool_max_unused_threads | 0 | 스레드 풀 최대 미사용 스레드 수 |
thread_pool_oversubscribe | 3 | 스레드 풀 초과 구독 |
thread_pool_prio_kickup_timer | 1000 | 스레드 풀 우선순위 킥업 타이머 |
thread_pool_priority | auto | 스레드 풀 우선순위 |
thread_pool_size | (CPU 코어 수에 따라 다름) | 스레드 풀 크기 |
thread_pool_stall_limit | 500 | 스레드 풀 스톨 제한 |
thread_stack | 294912 (플랫폼에 따라 다름) | 스레드 스택 크기 |
time_zone | SYSTEM | 시간대 |
tls_ciphersuites | (없음) | TLS 암호 스위트 |
tls_version | TLSv1.2,TLSv1.3 | TLS 버전 |
tmp_table_size | 16777216 (16MB) | 임시 테이블 크기 |
tmpdir | (시스템 기본 임시 디렉토리) | 임시 파일 디렉토리 |
transaction_alloc_block_size | 8192 (8KB) | 트랜잭션 할당 블록 크기 |
transaction_isolation | REPEATABLE-READ | 트랜잭션 격리 수준 |
transaction_prealloc_size | 4096 (4KB) | 트랜잭션 사전 할당 크기 |
transaction_read_only | OFF | 트랜잭션 읽기 전용 여부 |
transaction_write_set_extraction | OFF | 트랜잭션 쓰기 집합 추출 |
unique_checks | ON | 고유성 검사 여부 |
updatable_views_with_limit | YES | LIMIT이 있는 뷰 업데이트 허용 여부 |
use_secondary_engine | ON | 보조 엔진 사용 여부 |
validate_password.check_user_name | ON | 비밀번호 사용자 이름 검사 여부 |
validate_password.dictionary_file | (없음) | 비밀번호 사전 파일 경로 |
validate_password.length | 8 | 비밀번호 최소 길이 |
validate_password.mixed_case_count | 1 | 비밀번호 대소문자 혼합 개수 |
validate_password.number_count | 1 | 비밀번호 숫자 개수 |
validate_password.policy | MEDIUM | 비밀번호 정책 수준 |
validate_password.special_char_count | 1 | 비밀번호 특수문자 개수 |
version | (MySQL 버전에 따라 다름) | MySQL 버전 |
version_comment | (컴파일 정보에 따라 다름) | 버전 코멘트 |
version_compile_machine | (컴파일 머신에 따라 다름) | 컴파일 머신 |
version_compile_os | (컴파일 OS에 따라 다름) | 컴파일 운영체제 |
version_compile_zlib | (zlib 버전에 따라 다름) | 컴파일 zlib 버전 |
wait_timeout | 28800 | 대기 타임아웃 (초) |
warning_count | 0 | 경고 수 |
windowing_use_high_precision | ON | 윈도우 함수 고정밀도 사용 여부 |
'데이터베이스 > Mysql' 카테고리의 다른 글
[Docker] 우분투 기반 컨테이너에서 Mysql 8.0 client 설치 (0) | 2024.09.03 |
---|---|
innodb: unable to lock ./ibdata1 error: 11 해결 방안 (0) | 2024.08.23 |
Mysql 8.0 Public key retrieval is not allowed 이슈 (0) | 2023.12.06 |
Ubuntu 22.04 소스코드를 통해 mysql 5.7 설치 (1) | 2023.12.06 |

MySQL 설치
요즘은 도커(Docker)나 쿠버네티스(Kubernetes) 같은 컨테이너 기반 배포가 대세를 이루고 있습니다.
개발자들 사이에서도 이러한 빠르고 유연한 배포 방식이 당연시되고 있죠.
컨테이너를 사용하면 환경 설정이 간편하고, 자동화된 파이프라인으로 배포가 쉬워지니까요.
이런 세상에서 "굳이 OS에 접속해서 수동으로 명령어를 입력하며 MySQL 같은 데이터베이스를 설치하는 게 의미가 있을까?"라는 생각이 드는 건 지극히 정상적이라고 봅니다.
사실, 컨테이너 기술의 편리함을 보면, 손으로 하나씩 설치하는 전통적인 방식이 시대에 뒤떨어진 것처럼 느껴질 수도 있죠.
하지만 꼭 그렇지는 않다고 생각합니다. 컨테이너를 사용하지 않고 온프레미스 환경에서 직접 MySQL을 수동으로 설치하는 일은 여전히 의미가 있습니다.
모든 상황이 컨테이너에 맞춰져 있지는 않으니까요.
예를 들어, 컨테이너는 환경을 표준화하고 배포를 빠르게 해주지만, 특정 설정을 세밀하게 조정해야 할 때는 수동 설치가 더 유리할 수 있습니다.
회사 내부에서 데이터를 철저히 통제해야 하는 경우, 컨테이너 이미지나 외부 레지스트리에 의존하기보다는 직접 설치해서 관리하는 게 보안상 안전할 때가 있죠.
또, 초기 스타트업처럼 자원이 제한적인 상황에서는 컨테이너 도입 대신 기존 서버에 수동으로 세팅하며 비용을 아끼는 방법도 괜찮습니다.
게다가 Proxmox처럼 자체 VM이나 컨테이너(LXC) 기반으로 배포하는 환경에서는, 그 안에서 도커 같은 컨테이너를 또 사용하는 이중 컨테이너 구조를 피하고 싶을 때가 있습니다.
이런 경우에도 수동 설치가 더 깔끔하고 안정적인 선택이 될 수 있죠.
사람마다 다르겠지만 회사 생활을 하다보면 상황에 따라 수동 설치가 필요한 순간이 있을 수 있으니, 같이 한번 살펴보고 해보면 좋을 것 같습니다.
왜 Ubuntu 24.04 인가?
Ubuntu는 2년마다 LTS(Long-Term Support) 버전을 출시합니다.
일단 LTS는 5년간 지원을 보장하니 안정성과 장기 사용 측면에서 매력인 버전을 의미합니다.
기업이 아닌 일반 사용자들도 안정적인 버전을 사용하기 위해 LTS를 주로 사용하는 경향이 있습니다.
현재 기준(2025년 3월)으로 최신 LTS는 2024년 4월에 나온 Ubuntu 24.04.2 입니다.
물론 22.04 LTS 버전의 경우도 27년까진 지원한다곤 하지만 최근들어 24버전도 많이 안정화되었다고 판단이 들어 이번엔 우분투 24.04.2에서 설치를 진행하도록 하겠습니다.
실무에선 아직 저도 22.04를 사용하고 있습니다.
왜 MySQL 8.4 인가?
MySQL은 8.0 이후로 버전별 지원 정책을 명확히 했습니다.
8.0은 2018년에 나왔고, 지원은 2026년 4월까지입니다.
반면, 8.4는 2024년에 출시된 최신 LTS로, 2032년 4월까지 지원됩니다.
8.1, 8.2, 8.3은 LTS가 아닌 innovation release로, 지원 기간이 짧고 주로 신기능 테스트에 초점이 맞춰져 있습니다.
새로운 기능이 익숙해졌다가 LTS버전에서 사라질 수 있을 수 있기에 개인적으로는 LTS버전으로 진행합니다.
우분투와 마찬가지로 8.0 다음은 8.4로 확인되어 이번엔 8.4로 진행해보도록 하겠습니다.
제 경우 실무에선 아직 8.0을 사용중에 있습니다.
1. 사전준비 : 시스템 업데이트
# dpkg 를 사용하기 위해 gnupg 설치 포함
sudo apt update && sudo apt upgrade -y && sudo apt install gnupg
2. 레포지토리 추가 : MySQL APT Repository 추가
# 파일 다운로드 2025.03.05 기준 0.8.33-1.all.deb가 최신
wget https://repo.mysql.com/mysql-apt-config_0.8.33-1_all.deb
# 설치
sudo dpkg -i mysql-apt-config_0.8.33-1_all.deb

# 레포지토리 정보 반영 되도록 패키지 목록 업데이트
sudo apt update

혹시 wget이 안되는 경우 아래 Mysql Community Downloads APT Repository Package 다운로드 페이지를 통해 mysql apt config 파일을 받을 수 있습니다.
https://dev.mysql.com/downloads/repo/apt/
3. MySQL 8.4.4 설치
# Mysql-Server 설치
sudo apt install mysql-server -y




# 설치 상태 확인
sudo systemctl status mysql
# Mysql 서비스 실행
sudo systemctl start mysql
# 재부팅되어도 자동시작 될 수 있도록 enable 처리
sudo systemctl enable mysql
4. MySQL 버전 확인
mysql --version
# mysql Ver 8.4.4 for Linux on x86_64 (MySQL Community Server - GPL)
5. MySQL 보안 설정
MySQL은 설치 직후 기본 설정이 안전하지 않을 수 있습니다. 이를 보완하기 위해 제공되는 보안 설정 스크립트를 실행합니다.
sudo mysql_secure_installation
아래 보안 설정 스크립트를 원활히 진행하는 예 입니다. 참고하여 진행합니다.
# 명령어 입력
root@MySQL8:~# sudo mysql_secure_installation
Securing the MySQL server deployment.
Enter password for user root: [비밀번호 입력]
--------------------------------------------------------------
VALIDATE PASSWORD COMPONENT can be used to test passwords
and improve security. It checks the strength of password
and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD component?
VALIDATE PASSWORD 구성 요소는 비밀번호를 테스트하고 보안을 강화하는 데 사용할 수 있습니다.
이 구성 요소는 비밀번호의 강도를 확인하며, 사용자가 충분히 안전한 비밀번호만 설정할 수 있도록 합니다.
VALIDATE PASSWORD 구성 요소를 설정하시겠습니까?
Press y|Y for Yes, any other key for No: [선택]
---------------------------------------------------------------
Using existing password for root.
Change the password for root ? ((Press y|Y for Yes, any other key for No) : [선택]
기존 root 비밀번호를 사용합니다.
root 비밀번호를 변경하시겠습니까?
---------------------------------------------------------------
... skipping.
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.
Remove anonymous users? (Press y|Y for Yes, any other key for No) : [선택]
기본적으로 MySQL 설치에는 익명 사용자(anonymous user)가 포함되어 있어,
별도의 사용자 계정을 생성하지 않아도 누구나 MySQL에 로그인할 수 있습니다.
이는 테스트 및 설치를 보다 원활하게 하기 위한 용도로만 제공됩니다.
운영 환경으로 이동하기 전에 반드시 이 익명 사용자를 제거하는 것이 좋습니다.
익명사용자들을 제거하시겠습니까?
---------------------------------------------------------------
Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.
Disallow root login remotely? (Press y|Y for Yes, any other key for No) : [선택]
일반적으로 root 사용자는 localhost에서만 접속할 수 있도록 제한해야 합니다.
이렇게 하면 네트워크를 통해 누군가 root 비밀번호를 추측하여 접속하는 것을 방지할 수 있습니다.
원격에서 root 로그인을 비활성화하시겠습니까?
---------------------------------------------------------------
... skipping.
By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.
Remove test database and access to it? (Press y|Y for Yes, any other key for No) : [선택]
기본적으로 MySQL에는 **'test'**라는 데이터베이스가 포함되어 있으며,
누구나 접근할 수 있습니다.
이 데이터베이스는 테스트용으로만 제공되므로,
운영 환경으로 이동하기 전에 삭제하는 것이 좋습니다.
'test' 데이터베이스 및 해당 접근 권한을 제거하시겠습니까?
---------------------------------------------------------------
Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : [선택]
권한 테이블을 다시 로드하면 지금까지 적용된 모든 변경 사항이 즉시 반영됩니다.
권한 테이블을 지금 다시 로드하시겠습니까?
All done!
root@MySQL8:~#
6. MySQL 접속 테스트
sudo mysql -u root -p
# sudo mysql -uroot -p 와 같이 u와 계정명을 붙여서 사용해도 된다.

7. 원격 접속 설정
기본적으로 MySQL은 로컬 접속만 허용하는게 디폴트 세팅인 줄 알았는데 8.4.4버전을 설치하고 보니, bind_address가 *로 되어있는걸 확인했습니다.
사실상 전부 허용으로 되어있어 외부 접근이 가능하지만, 개인적으로는 접속가능한 IP만 세팅해두는게 좋다고 생각해 관련 설정법을 추가로 작성하였습니다.
사실 127.0.0.1 만 허용으로 되어있을거라고 생각해 외부접근허용 가능하게 하는 방법에 대해 서술하려고 설정하려고 들어갔다가 *로 되어있어 당황하였습니다.
mysql> SHOW VARIABLES LIKE 'bind_address';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| bind_address | * |
+---------------+-------+

8.0은 bind-address가 기본 127.0.0.1 로 되어있었는데, 8.4는 아닌것 같습니다.
공식 문서를 조회해보니 수신 네트워크 인터페이스가 * 로 바뀐걸 확인할 수 있었습니다.
... | ||
auto_increment_increment | 1 |
자동 증가 값 증가폭
|
bind_address | * | 수신 네트워크 인터페이스 |
character_set_server | utf8mb4 |
서버 기본 문자셋
|
collation_server |
utf8mb4_0900_ai_ci
|
서버 기본 정렬 규칙
|
default_storage_engine |
InnoDB
|
기본 스토리지 엔진
|
innodb_buffer_pool_size |
134217728 (128MB)
|
InnoDB 버퍼 풀 크기
|
innodb_log_file_size |
50331648 (48MB)
|
InnoDB 로그 파일 크기
|
long_query_time |
10.000000 (10초)
|
느린 쿼리 기준 시간
|
max_connections | 151 |
최대 동시 연결 수
|
max_execution_time | 0 |
쿼리 최대 실행 시간 (0은 무제한)
|
port | 3306 |
서버 포트 번호
|
sql_mode |
ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
|
SQL 동작 모드
|
... |
혹시 관련 기본 설정값들에 대해 좀 더 상세히 확인하고 싶으신 경우 게시글 최하단에 접혀진 부분을 통해 확인하세요
보안상 로컬에서만 접속가능하게 하려면 아래와 같이 설정할 수 있습니다. 보통은 루프백 주소로 안하려고 하지만 예시로 적어봅니다.
파일 편집 : /etc/mysql/mysql.conf.d/mysqld.cnf
[mysqld]
bind-address = 127.0.0.1
* : IPv4 , IPv6 모든 주소 수신
192.168.50.20 : I192.168.50.20 IPv4 주소만 수신
198.51.100.20,2001:db8:0:f101::1 : 198.51.100.20 IPv4 주소와 2001:db8:0:f101::1 IPv6 주소를 수신
값으로는 단일IP, 모든 IPv4 (0.0.0.0), 모든 IPv6(::), 모든 IPv4, IPv6 (*) 로만 설정할 수 있다.
상황에 맞게 작성하여 사용하시면 됩니다.
변경 사항을 저장하고, 아래 명령어를 통해 서비스를 다시 시작합니다.
sudo systemctl restart mysql
마무리
설치는 큰 문제 없이 잘 진행되었습니다.
설치 이후 찾아보니 MySQL 8.0에서 8.4로 올라가면서 내부적으로 변경된 부분들이 꽤나 있었지만
해당 부분은 확인해보고 추후에 시간이 나면 한번 정리해서 올려봐야 할 것 같습니다.
설치 이후에 운영하면서 발견한 점들도 함께 다뤄보면 좋겠네요.
이상으로 이번 MySQL 설치 정리를 마칩니다. 도움이 되셨길 바랍니다!
참고) MySQL 8.4 변수 기본값 및 설명 모음
실제 적용시엔 변수명에 _ (언더바)를 -(하이픈)으로 변경하여 사용하시면 됩니다.
변수 이름 | 기본값 | 설명 |
---|---|---|
activate_all_roles_on_login | OFF | 로그인 시 모든 역할 자동 활성화 여부 |
admin_address | (없음) | 관리 인터페이스 수신 주소 |
admin_port | 33062 | 관리 인터페이스 포트 번호 |
admin_ssl_ca | (없음) | 관리 인터페이스 SSL CA 파일 경로 |
admin_ssl_capath | (없음) | 관리 인터페이스 SSL CA 디렉토리 경로 |
admin_ssl_cert | (없음) | 관리 인터페이스 SSL 인증서 파일 경로 |
admin_ssl_cipher | (없음) | 관리 인터페이스 SSL 암호 목록 |
admin_ssl_crl | (없음) | 관리 인터페이스 SSL CRL 파일 경로 |
admin_ssl_crlpath | (없음) | 관리 인터페이스 SSL CRL 디렉토리 경로 |
admin_ssl_key | (없음) | 관리 인터페이스 SSL 키 파일 경로 |
authentication_fido_rp_id | (없음) | FIDO 인증 Relying Party ID |
authentication_ldap_sasl_auth_method_name | SCRAM-SHA-1 | LDAP SASL 인증 방법 |
authentication_ldap_sasl_bind_base_dn | (없음) | LDAP SASL 바인드 기본 DN |
authentication_ldap_sasl_bind_root_dn | (없음) | LDAP SASL 루트 DN |
authentication_ldap_sasl_bind_root_pwd | (없음) | LDAP SASL 루트 비밀번호 |
authentication_ldap_sasl_ca_path | (없음) | LDAP SASL CA 경로 |
authentication_ldap_sasl_group_search_attr | cn | LDAP SASL 그룹 검색 속성 |
authentication_ldap_sasl_group_search_filter | (없음) | LDAP SASL 그룹 검색 필터 |
authentication_ldap_sasl_init_pool_size | 10 | LDAP SASL 초기 풀 크기 |
authentication_ldap_sasl_log_status | 1 | LDAP SASL 로그 상태 |
authentication_ldap_sasl_max_pool_size | 1000 | LDAP SASL 최대 풀 크기 |
authentication_ldap_sasl_server_host | (없음) | LDAP SASL 서버 호스트 |
authentication_ldap_sasl_server_port | 389 | LDAP SASL 서버 포트 |
authentication_ldap_sasl_tls | OFF | LDAP SASL TLS 사용 여부 |
authentication_ldap_sasl_user_search_attr | uid | LDAP SASL 사용자 검색 속성 |
authentication_ldap_simple_auth_method_name | SIMPLE | LDAP 단순 인증 방법 |
authentication_ldap_simple_bind_base_dn | (없음) | LDAP 단순 바인드 기본 DN |
authentication_ldap_simple_bind_root_dn | (없음) | LDAP 단순 루트 DN |
authentication_ldap_simple_bind_root_pwd | (없음) | LDAP 단순 루트 비밀번호 |
authentication_ldap_simple_ca_path | (없음) | LDAP 단순 CA 경로 |
authentication_ldap_simple_group_search_attr | cn | LDAP 단순 그룹 검색 속성 |
authentication_ldap_simple_group_search_filter | (없음) | LDAP 단순 그룹 검색 필터 |
authentication_ldap_simple_init_pool_size | 10 | LDAP 단순 초기 풀 크기 |
authentication_ldap_simple_log_status | 1 | LDAP 단순 로그 상태 |
authentication_ldap_simple_max_pool_size | 1000 | LDAP 단순 최대 풀 크기 |
authentication_ldap_simple_server_host | (없음) | LDAP 단순 서버 호스트 |
authentication_ldap_simple_server_port | 389 | LDAP 단순 서버 포트 |
authentication_ldap_simple_tls | OFF | LDAP 단순 TLS 사용 여부 |
authentication_ldap_simple_user_search_attr | uid | LDAP 단순 사용자 검색 속성 |
authentication_policy | * | 인증 플러그인 정책 |
authentication_webauthn_rp_id | mysql | WebAuthn Relying Party ID |
auto_generate_certs | ON | 인증서 자동 생성 여부 |
auto_increment_increment | 1 | 자동 증가 값 증가폭 |
auto_increment_offset | 1 | 자동 증가 값 시작점 |
autocommit | ON | 트랜잭션 자동 커밋 여부 |
automatic_sp_privileges | ON | 저장 프로시저 권한 자동 부여 여부 |
avoid_temporal_upgrade | OFF | 시간 데이터 업그레이드 방지 여부 |
back_log | 151 | TCP/IP 연결 요청 대기 큐 크기 |
basedir | (설치 경로에 따라 다름) | MySQL 설치 기본 디렉토리 경로 |
big_tables | OFF | 큰 테이블 디스크 저장 여부 |
bind_address | * | 수신 네트워크 인터페이스 |
binlog_cache_size | 32768 (32KB) | 바이너리 로그 캐시 크기 |
binlog_checksum | CRC32 | 바이너리 로그 체크섬 알고리즘 |
binlog_direct_non_transactional_updates | OFF | 비트랜잭션 업데이트 직접 기록 여부 |
binlog_encryption | OFF | 바이너리 로그 암호화 여부 |
binlog_error_action | ABORT_SERVER | 바이너리 로그 에러 시 동작 |
binlog_expire_logs_auto_purge | ON | 만료된 바이너리 로그 자동 삭제 여부 |
binlog_expire_logs_seconds | 2592000 (30일) | 바이너리 로그 만료 시간 |
binlog_format | ROW | 바이너리 로그 형식 |
binlog_group_commit_sync_delay | 0 | 바이너리 로그 그룹 커밋 지연 시간 |
binlog_group_commit_sync_no_delay_count | 0 | 바이너리 로그 그룹 커밋 대기 트랜잭션 수 |
binlog_gtid_simple_recovery | ON | GTID 복구 간소화 여부 |
binlog_max_flush_queue_time | 0 | 바이너리 로그 플러시 대기 시간 |
binlog_order_commits | ON | 바이너리 로그 커밋 순서 보장 여부 |
binlog_rotate_encryption_master_key_at_startup | OFF | 시작 시 바이너리 로그 암호화 키 회전 여부 |
binlog_rotation_file_number_threshold | 0 | 바이너리 로그 회전 파일 번호 임계값 |
binlog_rotation_file_size_threshold | 0 | 바이너리 로그 회전 파일 크기 임계값 |
binlog_row_event_max_size | 8192 | 바이너리 로그 행 이벤트 최대 크기 |
binlog_row_image | FULL | 바이너리 로그 행 이미지 형식 |
binlog_row_metadata | MINIMAL | 바이너리 로그 행 메타데이터 수준 |
binlog_row_value_options | (없음) | 바이너리 로그 행 값 옵션 |
binlog_rows_query_log_events | OFF | 바이너리 로그에 쿼리 이벤트 기록 여부 |
binlog_stmt_cache_size | 32768 (32KB) | 바이너리 로그 문 캐시 크기 |
binlog_transaction_compression | OFF | 바이너리 로그 트랜잭션 압축 여부 |
binlog_transaction_compression_level_zstd | 3 | 바이너리 로그 Zstd 압축 수준 |
binlog_transaction_compression_threshold | 1024 | 바이너리 로그 압축 임계값 |
binlog_transaction_dependency_history_size | 25000 | 바이너리 로그 트랜잭션 종속성 히스토리 크기 |
binlog_transaction_dependency_tracking | COMMIT_ORDER | 바이너리 로그 트랜잭션 종속성 추적 방법 |
block_encryption_mode | aes-128-ecb | 블록 암호화 모드 |
bulk_insert_buffer_size | 8388608 (8MB) | 벌크 삽입 버퍼 크기 |
caching_sha2_password_auto_generate_rsa_keys | ON | SHA2 캐싱 비밀번호 RSA 키 자동 생성 여부 |
caching_sha2_password_digest_rounds | 5000 | SHA2 캐싱 비밀번호 다이제스트 반복 횟수 |
caching_sha2_password_private_key_path | private_key.pem | SHA2 캐싱 비밀번호 개인 키 경로 |
caching_sha2_password_public_key_path | public_key.pem | SHA2 캐싱 비밀번호 공개 키 경로 |
character_set_client | utf8mb4 | 클라이언트 문자셋 |
character_set_connection | utf8mb4 | 연결 문자셋 |
character_set_database | utf8mb4 | 데이터베이스 문자셋 |
character_set_filesystem | binary | 파일 시스템 문자셋 |
character_set_results | utf8mb4 | 결과 문자셋 |
character_set_server | utf8mb4 | 서버 기본 문자셋 |
character_sets_dir | (설치 경로에 따라 다름) | 문자셋 디렉토리 경로 |
check_proxy_users | OFF | 프록시 사용자 확인 여부 |
collation_connection | utf8mb4_0900_ai_ci | 연결 정렬 규칙 |
collation_database | utf8mb4_0900_ai_ci | 데이터베이스 정렬 규칙 |
collation_server | utf8mb4_0900_ai_ci | 서버 기본 정렬 규칙 |
completion_type | NO_CHAIN | 트랜잭션 완료 후 후속 작업 |
concurrent_insert | AUTO | 동시 삽입 모드 |
connect_timeout | 10 | 연결 타임아웃 (초) |
connection_control_failed_connections_threshold | 3 | 연결 실패 임계값 |
connection_control_max_connection_delay | 2147483647 | 최대 연결 지연 시간 |
connection_control_min_connection_delay | 1000 | 최소 연결 지연 시간 |
connection_memory_chunk_size | 8912 | 연결 메모리 청크 크기 |
connection_memory_limit | 18446744073709551615 (무제한) | 연결 메모리 제한 |
create_admin_listener_thread | OFF | 관리 리스너 스레드 생성 여부 |
cte_max_recursion_depth | 1000 | CTE 최대 재귀 깊이 |
datadir | (설치 경로에 따라 다름) | 데이터 디렉토리 경로 |
debug | (없음) | 디버그 옵션 |
debug_sync | (없음) | 디버그 동기화 옵션 |
default_authentication_plugin | caching_sha2_password | 기본 인증 플러그인 |
default_collation_for_utf8mb4 | utf8mb4_0900_ai_ci | UTF8MB4 기본 정렬 규칙 |
default_password_lifetime | 0 | 기본 비밀번호 수명 (0은 무제한) |
default_storage_engine | InnoDB | 기본 스토리지 엔진 |
default_table_encryption | OFF | 기본 테이블 암호화 여부 |
default_tmp_storage_engine | InnoDB | 기본 임시 테이블 스토리지 엔진 |
default_week_format | 0 | 기본 주 형식 |
delay_key_write | ON | 키 쓰기 지연 여부 |
delayed_insert_limit | 100 | 지연 삽입 제한 |
delayed_insert_timeout | 300 | 지연 삽입 타임아웃 (초) |
delayed_queue_size | 1000 | 지연 큐 크기 |
disabled_storage_engines | (없음) | 비활성화된 스토리지 엔진 |
disconnect_on_expired_password | ON | 만료된 비밀번호 연결 해제 여부 |
div_precision_increment | 4 | 나눗셈 정밀도 증가 |
dragnet.log_error_filter_rules | IF win: DROP IF pri <= 0 ELSE IF pri <= 2: THROTTLE 100 / 300 | 에러 로그 필터 규칙 |
end_markers_in_json | OFF | JSON 끝 마커 사용 여부 |
enforce_gtid_consistency | OFF | GTID 일관성 강제 여부 |
eq_range_index_dive_limit | 200 | 등가 범위 인덱스 다이브 제한 |
error_count | 0 | 에러 수 |
event_scheduler | ON | 이벤트 스케줄러 활성화 여부 |
expire_logs_days | 0 | 로그 만료 일수 (0은 비활성화) |
explicit_defaults_for_timestamp | OFF | 타임스탬프 명시적 기본값 사용 여부 |
external_user | (없음) | 외부 사용자 이름 |
flush | OFF | 플러시 활성화 여부 |
flush_time | 0 | 플러시 시간 간격 |
foreign_key_checks | ON | 외래 키 검사 여부 |
ft_boolean_syntax | + -><()~*:""&| | 전체 텍스트 불리언 구문 |
ft_max_word_len | 84 | 전체 텍스트 최대 단어 길이 |
ft_min_word_len | 4 | 전체 텍스트 최소 단어 길이 |
ft_query_expansion_limit | 20 | 전체 텍스트 쿼리 확장 제한 |
ft_stopword_file | built-in | 전체 텍스트 스톱워드 파일 |
general_log | OFF | 일반 로그 활성화 여부 |
general_log_file | host_name.log | 일반 로그 파일 경로 |
generated_random_password_length | 20 | 생성된 랜덤 비밀번호 길이 |
global_connection_memory_limit | 18446744073709551615 (무제한) | 전역 연결 메모리 제한 |
global_connection_memory_tracking | OFF | 전역 연결 메모리 추적 여부 |
group_concat_max_len | 1048576 (1MB) | GROUP_CONCAT 최대 길이 |
group_replication_consistency | EVENTUAL | 그룹 복제 일관성 수준 |
gtid_executed_compression_period | 1000 | GTID 실행 압축 주기 |
gtid_mode | OFF | GTID 모드 활성화 여부 |
gtid_next | AUTOMATIC | 다음 GTID 값 |
gtid_purged | (없음) | 삭제된 GTID 목록 |
histogram_generation_max_mem_size | 20000000 (20MB) | 히스토그램 생성 최대 메모리 크기 |
host_cache_size | 128 + 네트워크 인터페이스 수 * 2 | 호스트 캐시 크기 |
immediate_server_version | (없음) | 즉시 서버 버전 |
init_connect | (없음) | 연결 초기화 명령 |
init_file | (없음) | 초기화 SQL 파일 경로 |
innodb_adaptive_flushing | ON | InnoDB 적응형 플러싱 여부 |
innodb_adaptive_flushing_lwm | 10 | InnoDB 적응형 플러싱 저수준 마크 |
innodb_adaptive_hash_index | ON | InnoDB 적응형 해시 인덱스 사용 여부 |
innodb_adaptive_max_sleep_delay | 150000 | InnoDB 적응형 최대 슬립 지연 |
innodb_autoextend_increment | 64 | InnoDB 자동 확장 증가량 |
innodb_autoinc_lock_mode | 2 | InnoDB 자동 증가 잠금 모드 |
innodb_buffer_pool_chunk_size | 134217728 (128MB) | InnoDB 버퍼 풀 청크 크기 |
innodb_buffer_pool_dump_at_shutdown | ON | 종료 시 InnoDB 버퍼 풀 덤프 여부 |
innodb_buffer_pool_dump_now | OFF | 즉시 InnoDB 버퍼 풀 덤프 여부 |
innodb_buffer_pool_filename | ib_buffer_pool | InnoDB 버퍼 풀 파일 이름 |
innodb_buffer_pool_in_core_file | ON | 코어 파일에 InnoDB 버퍼 풀 포함 여부 |
innodb_buffer_pool_load_at_startup | ON | 시작 시 InnoDB 버퍼 풀 로드 여부 |
innodb_buffer_pool_load_now | OFF | 즉시 InnoDB 버퍼 풀 로드 여부 |
innodb_buffer_pool_size | 134217728 (128MB) | InnoDB 버퍼 풀 크기 |
innodb_change_buffer_max_size | 25 | InnoDB 변경 버퍼 최대 크기 |
innodb_change_buffering | all | InnoDB 변경 버퍼링 모드 |
innodb_checksum_algorithm | crc32 | InnoDB 체크섬 알고리즘 |
innodb_cmp_per_index_enabled | OFF | 인덱스별 InnoDB 압축 통계 활성화 여부 |
innodb_commit_concurrency | 0 | InnoDB 커밋 동시성 |
innodb_compression_failure_threshold_pct | 5 | InnoDB 압축 실패 임계값 비율 |
innodb_compression_level | 6 | InnoDB 압축 수준 |
innodb_compression_pad_pct_max | 50 | InnoDB 압축 패딩 최대 비율 |
innodb_concurrency_tickets | 5000 | InnoDB 동시성 티켓 수 |
innodb_data_file_path | ibdata1:12M:autoextend | InnoDB 데이터 파일 경로 |
innodb_data_home_dir | (없음) | InnoDB 데이터 홈 디렉토리 |
innodb_ddl_buffer_size | 1048576 (1MB) | InnoDB DDL 버퍼 크기 |
innodb_ddl_log_crash_reset_debug | OFF | InnoDB DDL 로그 크래시 리셋 디버그 여부 |
innodb_ddl_threads | 4 | InnoDB DDL 스레드 수 |
innodb_deadlock_detect | ON | InnoDB 데드락 감지 여부 |
innodb_default_encryption_key_id | 1 | InnoDB 기본 암호화 키 ID |
innodb_default_row_format | dynamic | InnoDB 기본 행 형식 |
innodb_dedicated_server | OFF | InnoDB 전용 서버 모드 여부 |
innodb_directories | (없음) | InnoDB 디렉토리 목록 |
innodb_doublewrite | ON | InnoDB 더블라이트 활성화 여부 |
innodb_doublewrite_batch_size | 0 | InnoDB 더블라이트 배치 크기 |
innodb_doublewrite_dir | (없음) | InnoDB 더블라이트 디렉토리 |
innodb_doublewrite_files | 2 | InnoDB 더블라이트 파일 수 |
innodb_doublewrite_pages | 128 | InnoDB 더블라이트 페이지 수 |
innodb_encrypt_redo_log | OFF | InnoDB 리두 로그 암호화 여부 |
innodb_encrypt_tables | OFF | InnoDB 테이블 암호화 여부 |
innodb_encrypt_temporary_tables | OFF | InnoDB 임시 테이블 암호화 여부 |
innodb_encryption_rotate_key_age | 1 | InnoDB 암호화 키 회전 주기 |
innodb_encryption_rotation_iops | 1000 | InnoDB 암호화 회전 IOPS |
innodb_encryption_threads | 0 | InnoDB 암호화 스레드 수 |
innodb_extend_and_initialize | ON | InnoDB 확장 및 초기화 여부 |
innodb_fast_shutdown | 1 | InnoDB 빠른 종료 모드 |
innodb_file_per_table | ON | InnoDB 파일당 테이블 사용 여부 |
innodb_fill_factor | 100 | InnoDB 채움 비율 |
innodb_flush_log_at_timeout | 1 | InnoDB 로그 플러시 타임아웃 |
innodb_flush_log_at_trx_commit | 1 | InnoDB 트랜잭션 커밋 시 로그 플러시 |
innodb_flush_method | (플랫폼에 따라 다름) | InnoDB 플러시 방법 |
innodb_flush_neighbors | 0 | InnoDB 인접 페이지 플러시 여부 |
innodb_flush_sync | ON | InnoDB 플러시 동기화 여부 |
innodb_flushing_avg_loops | 30 | InnoDB 플러싱 평균 루프 |
innodb_force_load_corrupted | OFF | InnoDB 손상된 데이터 강제 로드 여부 |
innodb_force_primary_key | OFF | InnoDB 기본 키 강제 여부 |
innodb_force_recovery | 0 | InnoDB 강제 복구 모드 |
innodb_fsync_threshold | 0 | InnoDB fsync 임계값 |
innodb_ft_aux_table | (없음) | InnoDB 전체 텍스트 보조 테이블 |
innodb_ft_cache_size | 8000000 (8MB) | InnoDB 전체 텍스트 캐시 크기 |
innodb_ft_enable_diag_print | OFF | InnoDB 전체 텍스트 진단 출력 여부 |
innodb_ft_enable_stopword | ON | InnoDB 전체 텍스트 스톱워드 사용 여부 |
innodb_ft_max_token_size | 84 | InnoDB 전체 텍스트 최대 토큰 크기 |
innodb_ft_min_token_size | 3 | InnoDB 전체 텍스트 최소 토큰 크기 |
innodb_ft_num_word_optimize | 2000 | InnoDB 전체 텍스트 단어 최적화 수 |
innodb_ft_result_cache_limit | 2000000000 (2GB) | InnoDB 전체 텍스트 결과 캐시 제한 |
innodb_ft_server_stopword_table | (없음) | InnoDB 전체 텍스트 서버 스톱워드 테이블 |
innodb_ft_sort_pll_degree | 2 | InnoDB 전체 텍스트 정렬 병렬 수준 |
innodb_ft_user_stopword_table | (없음) | InnoDB 전체 텍스트 사용자 스톱워드 테이블 |
innodb_idle_flush_pct | 100 | InnoDB 유휴 플러시 비율 |
innodb_immediate_scrub_data_uncompressed | OFF | InnoDB 비압축 데이터 즉시 스크럽 여부 |
innodb_instant_alter_column_allowed | add_last | InnoDB 즉시 열 변경 허용 범위 |
innodb_io_capacity | 200 | InnoDB I/O 용량 |
innodb_io_capacity_max | 2000 | InnoDB 최대 I/O 용량 |
innodb_limit_optimistic_insert_debug | 0 | InnoDB 낙관적 삽입 디버그 제한 |
innodb_lock_wait_timeout | 50 | InnoDB 잠금 대기 타임아웃 (초) |
innodb_log_buffer_size | 16777216 (16MB) | InnoDB 로그 버퍼 크기 |
innodb_log_checksums | ON | InnoDB 로그 체크섬 사용 여부 |
innodb_log_compressed_pages | ON | InnoDB 압축 페이지 로깅 여부 |
innodb_log_file_size | 50331648 (48MB) | InnoDB 로그 파일 크기 |
innodb_log_files_in_group | 2 | InnoDB 로그 파일 그룹 내 파일 수 |
innodb_log_group_home_dir | (없음) | InnoDB 로그 그룹 홈 디렉토리 |
innodb_log_spin_cpu_abs_lwm | 80 | InnoDB 로그 스핀 CPU 절대 저수준 마크 |
innodb_log_spin_cpu_pct_hwm | 50 | InnoDB 로그 스핀 CPU 비율 고수준 마크 |
innodb_log_wait_for_flush_spin_hwm | 400 | InnoDB 로그 플러시 대기 스핀 고수준 마크 |
innodb_log_write_ahead_size | 8192 (8KB) | InnoDB 로그 쓰기 선행 크기 |
innodb_log_writer_threads | ON | InnoDB 로그 라이터 스레드 사용 여부 |
innodb_lru_scan_depth | 1024 | InnoDB LRU 스캔 깊이 |
innodb_max_dirty_pages_pct | 90.0 | InnoDB 최대 더티 페이지 비율 |
innodb_max_dirty_pages_pct_lwm | 10.0 | InnoDB 최대 더티 페이지 저수준 마크 |
innodb_max_purge_lag | 0 | InnoDB 최대 퍼지 지연 |
innodb_max_purge_lag_delay | 0 | InnoDB 최대 퍼지 지연 시간 |
innodb_max_undo_log_size | 1073741824 (1GB) | InnoDB 최대 언두 로그 크기 |
innodb_monitor_disable | (없음) | InnoDB 모니터 비활성화 |
innodb_monitor_enable | (없음) | InnoDB 모니터 활성화 |
innodb_old_blocks_pct | 37 | InnoDB 오래된 블록 비율 |
innodb_old_blocks_time | 1000 | InnoDB 오래된 블록 시간 |
innodb_online_alter_log_max_size | 134217728 (128MB) | InnoDB 온라인 변경 로그 최대 크기 |
innodb_open_files | 4000 | InnoDB 열린 파일 수 |
innodb_optimize_fulltext_only | OFF | InnoDB 전체 텍스트만 최적화 여부 |
innodb_page_cleaners | 4 | InnoDB 페이지 클리너 수 |
innodb_page_size | 16384 (16KB) | InnoDB 페이지 크기 |
innodb_print_all_deadlocks | OFF | InnoDB 모든 데드락 출력 여부 |
innodb_print_ddl_logs | OFF | InnoDB DDL 로그 출력 여부 |
innodb_print_lock_wait_timeout_info | OFF | InnoDB 잠금 대기 타임아웃 정보 출력 여부 |
innodb_purge_batch_size | 300 | InnoDB 퍼지 배치 크기 |
innodb_purge_rseg_truncate_frequency | 128 | InnoDB 퍼지 롤백 세그먼트 트렁케이트 주기 |
innodb_purge_threads | 4 | InnoDB 퍼지 스레드 수 |
innodb_random_read_ahead | OFF | InnoDB 랜덤 읽기 선행 여부 |
innodb_read_ahead_threshold | 56 | InnoDB 읽기 선행 임계값 |
innodb_read_io_threads | 4 | InnoDB 읽기 I/O 스레드 수 |
innodb_read_only | OFF | InnoDB 읽기 전용 모드 여부 |
innodb_redo_log_archive_dirs | (없음) | InnoDB 리두 로그 아카이브 디렉토리 |
innodb_redo_log_capacity | 104857600 (100MB) | InnoDB 리두 로그 용량 |
innodb_redo_log_encrypt | OFF | InnoDB 리두 로그 암호화 여부 |
innodb_replication_delay | 0 | InnoDB 복제 지연 시간 |
innodb_rollback_on_timeout | OFF | InnoDB 타임아웃 시 롤백 여부 |
innodb_rollback_segments | 128 | InnoDB 롤백 세그먼트 수 |
innodb_saved_page_access | OFF | InnoDB 저장 페이지 접근 활성화 여부 |
innodb_segment_reserve_factor | 12.5 | InnoDB 세그먼트 예약 비율 |
innodb_sort_buffer_size | 1048576 (1MB) | InnoDB 정렬 버퍼 크기 |
innodb_spin_wait_delay | 6 | InnoDB 스핀 대기 지연 |
innodb_spin_wait_pause_multiplier | 50 | InnoDB 스핀 대기 일시 중지 배율 |
innodb_stats_auto_recalc | ON | InnoDB 통계 자동 재계산 여부 |
innodb_stats_include_delete_marked | OFF | InnoDB 삭제 표시 포함 통계 여부 |
innodb_stats_method | nulls_equal | InnoDB 통계 계산 방법 |
innodb_stats_on_metadata | OFF | InnoDB 메타데이터 통계 수집 여부 |
innodb_stats_persistent | ON | InnoDB 영구 통계 사용 여부 |
innodb_stats_persistent_sample_pages | 20 | InnoDB 영구 통계 샘플 페이지 수 |
innodb_stats_transient_sample_pages | 8 | InnoDB 일시 통계 샘플 페이지 수 |
innodb_status_output | OFF | InnoDB 상태 출력 여부 |
innodb_status_output_locks | OFF | InnoDB 잠금 상태 출력 여부 |
innodb_strict_mode | ON | InnoDB 엄격 모드 여부 |
innodb_sync_array_size | 1 | InnoDB 동기화 배열 크기 |
innodb_sync_spin_loops | 30 | InnoDB 동기화 스핀 루프 |
innodb_table_locks | ON | InnoDB 테이블 잠금 사용 여부 |
innodb_temp_data_file_path | ibtmp1:12M:autoextend | InnoDB 임시 데이터 파일 경로 |
innodb_temp_tablespaces_dir | (datadir 내 ./#innodb_temp/) | InnoDB 임시 테이블스페이스 디렉토리 |
innodb_thread_concurrency | 0 | InnoDB 스레드 동시성 |
innodb_thread_sleep_delay | 10000 | InnoDB 스레드 슬립 지연 |
innodb_tmpdir | (없음) | InnoDB 임시 디렉토리 |
innodb_trx_purge_view_update_only_debug | OFF | InnoDB 트랜잭션 퍼지 뷰 업데이트 디버그 |
innodb_trx_rseg_n_slots_debug | 0 | InnoDB 트랜잭션 롤백 세그먼트 슬롯 디버그 |
innodb_undo_directory | (없음) | InnoDB 언두 디렉토리 |
innodb_undo_log_encrypt | OFF | InnoDB 언두 로그 암호화 여부 |
innodb_undo_log_truncate | ON | InnoDB 언두 로그 트렁케이트 여부 |
innodb_undo_tablespaces | 2 | InnoDB 언두 테이블스페이스 수 |
innodb_use_fdatasync | OFF | InnoDB fdatasync 사용 여부 |
innodb_use_native_aio | ON | InnoDB 네이티브 AIO 사용 여부 |
innodb_validate_tablespace_paths | ON | InnoDB 테이블스페이스 경로 검증 여부 |
innodb_write_io_threads | 4 | InnoDB 쓰기 I/O 스레드 수 |
insert_immediate_threshold | 1000000 | 즉시 삽입 임계값 |
internal_tmp_mem_storage_engine | TempTable | 내부 임시 메모리 스토리지 엔진 |
join_buffer_size | 262144 (256KB) | 조인 버퍼 크기 |
keep_files_on_create | OFF | 생성 시 파일 유지 여부 |
key_buffer_size | 8388608 (8MB) | 키 버퍼 크기 |
key_cache_age_threshold | 300 | 키 캐시 에이징 임계값 |
key_cache_block_size | 1024 (1KB) | 키 캐시 블록 크기 |
key_cache_division_limit | 100 | 키 캐시 분할 제한 |
keyring_aws_cmk_id | (없음) | AWS 키링 CMK ID |
keyring_aws_region | (없음) | AWS 키링 리전 |
keyring_encrypted_file_data | (없음) | 키링 암호화 파일 데이터 |
keyring_encrypted_file_password | (없음) | 키링 암호화 파일 비밀번호 |
keyring_file_data | (없음) | 키링 파일 데이터 경로 |
keyring_hashicorp_auth_path | (없음) | HashiCorp 키링 인증 경로 |
keyring_hashicorp_ca_path | (없음) | HashiCorp 키링 CA 경로 |
keyring_hashicorp_role_id | (없음) | HashiCorp 키링 역할 ID |
keyring_hashicorp_secret_id | (없음) | HashiCorp 키링 비밀 ID |
keyring_hashicorp_server_url | (없음) | HashiCorp 키링 서버 URL |
keyring_hashicorp_store_path | (없음) | HashiCorp 키링 저장 경로 |
keyring_oci_ca_file | (없음) | OCI 키링 CA 파일 |
keyring_oci_compartment | (없음) | OCI 키링 컴파트먼트 |
keyring_oci_encryption_endpoint | (없음) | OCI 키링 암호화 엔드포인트 |
keyring_oci_key_file | (없음) | OCI 키링 키 파일 |
keyring_oci_management_endpoint | (없음) | OCI 키링 관리 엔드포인트 |
keyring_oci_master_key | (없음) | OCI 키링 마스터 키 |
keyring_oci_secrets_endpoint | (없음) | OCI 키링 비밀 엔드포인트 |
keyring_oci_tenancy | (없음) | OCI 키링 테넌시 |
keyring_oci_user | (없음) | OCI 키링 사용자 |
keyring_oci_vaults_endpoint | (없음) | OCI 키링 볼트 엔드포인트 |
keyring_oci_virtual_vault | (없음) | OCI 키링 가상 볼트 |
keyring_okv_conf_dir | (없음) | OKV 키링 설정 디렉토리 |
large_files_support | ON | 대용량 파일 지원 여부 |
large_page_size | 0 | 대용량 페이지 크기 |
large_pages | OFF | 대용량 페이지 사용 여부 |
lc_messages | en_US | 로케일 메시지 |
lc_messages_dir | (설치 경로에 따라 다름) | 로케일 메시지 디렉토리 |
lc_time_names | en_US | 로케일 시간 이름 |
local_infile | ON | 로컬 파일 로드 허용 여부 |
lock_wait_timeout | 31536000 (1년) | 잠금 대기 타임아웃 (초) |
log_bin | OFF | 바이너리 로깅 활성화 여부 |
log_bin_basename | (없음) | 바이너리 로그 기본 이름 |
log_bin_index | (없음) | 바이너리 로그 인덱스 파일 |
log_bin_trust_function_creators | OFF | 바이너리 로그 함수 생성자 신뢰 여부 |
log_bin_use_v1_row_events | OFF | 바이너리 로그 V1 행 이벤트 사용 여부 |
log_error | (플랫폼에 따라 다름) | 에러 로그 파일 경로 |
log_error_filter_rules | (없음) | 에러 로그 필터 규칙 |
log_error_services | log_filter_internal; log_sink_internal | 에러 로그 서비스 |
log_error_suppression_list | (없음) | 에러 로그 억제 목록 |
log_error_verbosity | 2 | 에러 로그 상세도 |
log_output | FILE | 로그 출력 대상 |
log_queries_not_using_indexes | OFF | 인덱스 미사용 쿼리 로깅 여부 |
log_raw | OFF | 원시 로그 활성화 여부 |
log_replica_updates | ON | 복제본 업데이트 로깅 여부 |
log_slow_admin_statements | OFF | 느린 관리 명령 로깅 여부 |
log_slow_extra | OFF | 느린 쿼리 추가 정보 로깅 여부 |
log_slow_replica_statements | OFF | 느린 복제본 명령 로깅 여부 |
log_slow_slave_statements | OFF | 느린 슬레이브 명령 로깅 여부 |
log_statements_unsafe_for_binlog | ON | 바이너리 로그에 안전하지 않은 명령 로깅 |
log_syslog | OFF | 시스템 로그 사용 여부 |
log_syslog_facility | daemon | 시스템 로그 설비 |
log_syslog_include_pid | ON | 시스템 로그에 PID 포함 여부 |
log_syslog_tag | (없음) | 시스템 로그 태그 |
log_throttle_queries_not_using_indexes | 0 | 인덱스 미사용 쿼리 제한 |
log_timestamps | UTC | 로그 타임스탬프 시간대 |
long_query_time | 10.000000 (10초) | 느린 쿼리 기준 시간 |
low_priority_updates | OFF | 낮은 우선순위 업데이트 사용 여부 |
lower_case_file_system | (플랫폼에 따라 다름) | 파일 시스템 대소문자 구분 여부 |
lower_case_table_names | 0 | 테이블 이름 대소문자 처리 |
mandatory_roles | (없음) | 필수 역할 |
max_allowed_packet | 67108864 (64MB) | 최대 허용 패킷 크기 |
max_binlog_cache_size | 18446744073709547520 | 최대 바이너리 로그 캐시 크기 |
max_binlog_size | 1073741824 (1GB) | 최대 바이너리 로그 크기 |
max_binlog_stmt_cache_size | 18446744073709547520 | 최대 바이너리 로그 문 캐시 크기 |
max_connect_errors | 100 | 최대 연결 에러 수 |
max_connections | 151 | 최대 동시 연결 수 |
max_delayed_threads | 20 | 최대 지연 스레드 수 |
max_digest_length | 1024 | 최대 다이제스트 길이 |
max_error_count | 1024 | 최대 에러 수 |
max_execution_time | 0 | 쿼리 최대 실행 시간 (0은 무제한) |
max_heap_table_size | 16777216 (16MB) | 최대 힙 테이블 크기 |
max_insert_delayed_threads | 20 | 최대 지연 삽입 스레드 수 |
max_join_size | 18446744073709551615 (무제한) | 최대 조인 크기 |
max_length_for_sort_data | 4096 | 정렬 데이터 최대 길이 |
max_points_in_geometry | 1048576 | 지오메트리 최대 포인트 수 |
max_prepared_stmt_count | 16382 | 최대 준비된 문 수 |
max_relay_log_size | 0 | 최대 릴레이 로그 크기 |
max_seeks_for_key | 18446744073709551615 (무제한) | 키 탐색 최대 횟수 |
max_sort_length | 1024 | 최대 정렬 길이 |
max_sp_recursion_depth | 0 | 최대 저장 프로시저 재귀 깊이 |
max_tmp_tables | 0 | 최대 임시 테이블 수 |
max_user_connections | 0 | 사용자당 최대 연결 수 (0은 무제한) |
max_write_lock_count | 18446744073709551615 (무제한) | 최대 쓰기 잠금 수 |
mecab_rc_file | (플랫폼에 따라 다름) | MeCab 설정 파일 경로 |
min_examined_row_limit | 0 | 최소 검사 행 제한 |
multi_range_count | 256 | 다중 범위 수 |
myisam_data_pointer_size | 6 | MyISAM 데이터 포인터 크기 |
myisam_max_sort_file_size | 9223372036854775807 | MyISAM 최대 정렬 파일 크기 |
myisam_mmap_size | 18446744073709551615 (무제한) | MyISAM 메모리 매핑 크기 |
myisam_recover_options | OFF | MyISAM 복구 옵션 |
myisam_repair_threads | 1 | MyISAM 복구 스레드 수 |
myisam_sort_buffer_size | 8388608 (8MB) | MyISAM 정렬 버퍼 크기 |
myisam_stats_method | nulls_unequal | MyISAM 통계 계산 방법 |
myisam_use_mmap | OFF | MyISAM 메모리 매핑 사용 여부 |
mysql_firewall_mode | ON | MySQL 방화벽 모드 |
mysql_firewall_trace | OFF | MySQL 방화벽 추적 여부 |
mysql_native_password_proxy_users | OFF | MySQL 네이티브 비밀번호 프록시 사용자 |
mysqlx_bind_address | * | MySQL X 프로토콜 바인드 주소 |
mysqlx_connect_timeout | 30 | MySQL X 연결 타임아웃 (초) |
mysqlx_deflate_default_compression_level | 3 | MySQL X Deflate 기본 압축 수준 |
mysqlx_deflate_max_client_compression_level | 5 | MySQL X Deflate 최대 클라이언트 압축 수준 |
mysqlx_document_id_unique_prefix | 0 | MySQL X 문서 ID 고유 접두사 |
mysqlx_enable_hello_notice | ON | MySQL X 헬로 알림 활성화 여부 |
mysqlx_idle_worker_thread_timeout | 60 | MySQL X 유휴 워커 스레드 타임아웃 |
mysqlx_interactive_timeout | 28800 | MySQL X 대화형 타임아웃 |
mysqlx_lz4_default_compression_level | 2 | MySQL X LZ4 기본 압축 수준 |
mysqlx_lz4_max_client_compression_level | 8 | MySQL X LZ4 최대 클라이언트 압축 수준 |
mysqlx_max_allowed_packet | 67108864 (64MB) | MySQL X 최대 허용 패킷 크기 |
mysqlx_max_connections | 100 | MySQL X 최대 연결 수 |
mysqlx_min_worker_threads | 2 | MySQL X 최소 워커 스레드 수 |
mysqlx_port | 33060 | MySQL X 포트 번호 |
mysqlx_port_open_timeout | 0 | MySQL X 포트 열기 타임아웃 |
mysqlx_read_timeout | 30 | MySQL X 읽기 타임아웃 (초) |
mysqlx_socket | /tmp/mysqlx.sock | MySQL X 소켓 파일 경로 |
mysqlx_ssl_ca | (없음) | MySQL X SSL CA 파일 경로 |
mysqlx_ssl_capath | (없음) | MySQL X SSL CA 디렉토리 경로 |
mysqlx_ssl_cert | (없음) | MySQL X SSL 인증서 파일 경로 |
mysqlx_ssl_cipher | (없음) | MySQL X SSL 암호 목록 |
mysqlx_ssl_crl | (없음) | MySQL X SSL CRL 파일 경로 |
mysqlx_ssl_key | (없음) | MySQL X SSL 키 파일 경로 |
mysqlx_wait_timeout | 28800 | MySQL X 대기 타임아웃 |
mysqlx_write_timeout | 60 | MySQL X 쓰기 타임아웃 (초) |
mysqlx_zstd_default_compression_level | 3 | MySQL X Zstd 기본 압축 수준 |
mysqlx_zstd_max_client_compression_level | 11 | MySQL X Zstd 최대 클라이언트 압축 수준 |
ndb-allow-copying-alter-table | (없음) | NDB ALTER TABLE 복사 허용 여부 |
ndb_autoincrement_prefetch_sz | 1 | NDB 자동 증가 프리페치 크기 |
ndb_blob_read_batch_bytes | 65536 | NDB BLOB 읽기 배치 바이트 |
ndb_blob_write_batch_bytes | 65536 | NDB BLOB 쓰기 배치 바이트 |
ndb_cache_check_time | (없음) | NDB 캐시 확인 시간 |
ndb_clear_apply_status | (없음) | NDB 적용 상태 초기화 여부 |
ndb_data_node_neighbour | (없음) | NDB 데이터 노드 이웃 |
ndb_default_column_format | (없음) | NDB 기본 열 형식 |
ndb_deferred_constraints | (없음) | NDB 지연 제약 조건 |
ndb_distribution | (없음) | NDB 분산 방식 |
ndb_eventbuffer_free_percent | (없음) | NDB 이벤트 버퍼 여유 비율 |
ndb_eventbuffer_max_alloc | (없음) | NDB 이벤트 버퍼 최대 할당 |
ndb_extra_logging | (없음) | NDB 추가 로깅 |
ndb_force_send | (없음) | NDB 강제 전송 여부 |
ndb_fully_replicated | (없음) | NDB 완전 복제 여부 |
ndb_index_stat_enable | (없음) | NDB 인덱스 통계 활성화 여부 |
ndb_index_stat_option | (없음) | NDB 인덱스 통계 옵션 |
ndb_join_pushdown | (없음) | NDB 조인 푸시다운 여부 |
ndb_log_bin | (없음) | NDB 바이너리 로깅 여부 |
ndb_log_exclusive_reads | (없음) | NDB 독점 읽기 로깅 여부 |
ndb_log_update_as_write | (없음) | NDB 업데이트를 쓰기로 로깅 여부 |
ndb_log_updated_only | (없음) | NDB 업데이트만 로깅 여부 |
ndb_optimization_delay | (없음) | NDB 최적화 지연 |
ndb_read_backup | (없음) | NDB 읽기 백업 여부 |
ndb_recv_thread_activation_threshold | (없음) | NDB 수신 스레드 활성화 임계값 |
ndb_recv_thread_cpu_mask | (없음) | NDB 수신 스레드 CPU 마스크 |
ndb_row_checksum | (없음) | NDB 행 체크섬 |
ndb_show_foreign_key_mock_tables | (없음) | NDB 외래 키 모의 테이블 표시 여부 |
ndb_slave_last_conflict_epoch | (없음) | NDB 슬레이브 마지막 충돌 에포크 |
ndb_table_no_logging | (없음) | NDB 테이블 로깅 비활성화 여부 |
ndb_table_temporary | (없음) | NDB 테이블 임시 여부 |
ndb_use_copying_alter_table | (없음) | NDB ALTER TABLE 복사 사용 여부 |
ndb_use_exact_count | (없음) | NDB 정확한 카운트 사용 여부 |
ndb_use_transactions | (없음) | NDB 트랜잭션 사용 여부 |
ndb_wait_setup | (없음) | NDB 설정 대기 시간 |
ndbinfo_database | (없음) | NDBINFO 데이터베이스 |
ndbinfo_max_bytes | (없음) | NDBINFO 최대 바이트 |
ndbinfo_max_rows | (없음) | NDBINFO 최대 행 |
ndbinfo_offline | (없음) | NDBINFO 오프라인 여부 |
ndbinfo_show_hidden | (없음) | NDBINFO 숨김 표시 여부 |
ndbinfo_table_prefix | (없음) | NDBINFO 테이블 접두사 |
ndbinfo_version | (없음) | NDBINFO 버전 |
net_buffer_length | 16384 (16KB) | 네트워크 버퍼 길이 |
net_read_timeout | 30 | 네트워크 읽기 타임아웃 (초) |
net_retry_count | 10 | 네트워크 재시도 횟수 |
net_write_timeout | 60 | 네트워크 쓰기 타임아웃 (초) |
new | OFF | 신규 모드 활성화 여부 |
ngram_token_size | 2 | Ngram 토큰 크기 |
offline_mode | OFF | 오프라인 모드 여부 |
old | OFF | 구 모드 활성화 여부 |
old_alter_table | OFF | 구 ALTER TABLE 사용 여부 |
open_files_limit | 5000 | 열린 파일 제한 |
optimizer_prune_level | 1 | 옵티마이저 가지치기 수준 |
optimizer_search_depth | 62 | 옵티마이저 검색 깊이 |
optimizer_switch | index_merge=on,index_merge_union=on,... (긴 문자열, 문서 참조) | 옵티마이저 스위치 설정 |
optimizer_trace | (없음) | 옵티마이저 추적 설정 |
optimizer_trace_features | (없음) | 옵티마이저 추적 기능 |
optimizer_trace_limit | 1 | 옵티마이저 추적 제한 |
optimizer_trace_max_mem_size | 1048576 (1MB) | 옵티마이저 추적 최대 메모리 크기 |
optimizer_trace_offset | -1 | 옵티마이저 추적 오프셋 |
original_commit_timestamp | (없음) | 원본 커밋 타임스탬프 |
original_server_version | (없음) | 원본 서버 버전 |
parser_max_mem_size | 18446744073709551615 (무제한) | 파서 최대 메모리 크기 |
partial_revokes | OFF | 부분 철회 활성화 여부 |
password_history | 0 | 비밀번호 히스토리 유지 개수 |
password_require_current | OFF | 현재 비밀번호 요구 여부 |
password_reuse_interval | 0 | 비밀번호 재사용 간격 |
performance_schema | ON | 퍼포먼스 스키마 활성화 여부 |
performance_schema_... | (수많은 변수, 기본값은 문서 참조) | 다양한 퍼포먼스 스키마 세부 설정 |
persist_only_admin_x509_subject | (없음) | 영구 관리 X509 주체 |
persisted_globals_load | ON | 영구 전역 변수 로드 여부 |
pid_file | (플랫폼에 따라 다름) | PID 파일 경로 |
plugin_dir | (설치 경로에 따라 다름) | 플러그인 디렉토리 경로 |
port | 3306 | 서버 포트 번호 |
preload_buffer_size | 32768 (32KB) | 프리로드 버퍼 크기 |
print_identified_with_as_hex | OFF | 식별자 16진수 출력 여부 |
protocol_compression_algorithms | zlib,zstd,uncompressed | 프로토콜 압축 알고리즘 |
protocol_version | 10 | 프로토콜 버전 |
proxy_user | (없음) | 프록시 사용자 이름 |
pseudo_replica_mode | OFF | 의사 복제 모드 여부 |
pseudo_slave_mode | OFF | 의사 슬레이브 모드 여부 |
query_alloc_block_size | 8192 (8KB) | 쿼리 할당 블록 크기 |
query_prealloc_size | 8192 (8KB) | 쿼리 사전 할당 크기 |
rand_seed1 | 0 | 랜덤 시드 1 |
rand_seed2 | 0 | 랜덤 시드 2 |
range_alloc_block_size | 4096 | 범위 할당 블록 크기 |
range_optimizer_max_mem_size | 8388608 (8MB) | 범위 옵티마이저 최대 메모리 크기 |
rbr_exec_mode | STRICT | 행 기반 복제 실행 모드 |
read_buffer_size | 131072 (128KB) | 읽기 버퍼 크기 |
read_only | OFF | 읽기 전용 모드 여부 |
read_rnd_buffer_size | 262144 (256KB) | 랜덤 읽기 버퍼 크기 |
regexp_stack_limit | 8000000 (8MB) | 정규식 스택 제한 |
regexp_time_limit | 32 | 정규식 시간 제한 |
relay_log | (없음) | 릴레이 로그 파일 경로 |
relay_log_basename | (없음) | 릴레이 로그 기본 이름 |
relay_log_index | (없음) | 릴레이 로그 인덱스 파일 |
relay_log_info_file | relay-log.info | 릴레이 로그 정보 파일 |
relay_log_purge | ON | 릴레이 로그 퍼지 여부 |
relay_log_recovery | OFF | 릴레이 로그 복구 여부 |
relay_log_space_limit | 0 | 릴레이 로그 공간 제한 |
replica_allow_batching | (없음) | 복제 배치 허용 여부 |
replica_checkpoint_group | (없음) | 복제 체크포인트 그룹 |
replica_checkpoint_period | (없음) | 복제 체크포인트 주기 |
replica_compressed_protocol | (없음) | 복제 압축 프로토콜 사용 여부 |
replica_exec_mode | (없음) | 복제 실행 모드 |
replica_load_tmpdir | (없음) | 복제 임시 디렉토리 |
replica_max_allowed_packet | (없음) | 복제 최대 허용 패킷 크기 |
replica_net_timeout | (없음) | 복제 네트워크 타임아웃 |
replica_parallel_type | (없음) | 복제 병렬 유형 |
replica_parallel_workers | (없음) | 복제 병렬 워커 수 |
replica_pending_jobs_size_max | (없음) | 복제 대기 작업 최대 크기 |
replica_preserve_commit_order | (없음) | 복제 커밋 순서 보존 여부 |
replica_skip_errors | (없음) | 복제 오류 건너뛰기 |
replica_sql_verify_checksum | (없음) | 복제 SQL 체크섬 검증 여부 |
replica_transaction_retries | (없음) | 복제 트랜잭션 재시도 횟수 |
replica_type_conversions | (없음) | 복제 유형 변환 |
replication_sender_observe_commit_only | (없음) | 복제 전송자 커밋 관찰 여부 |
require_row_format | OFF | 행 형식 요구 여부 |
require_secure_transport | OFF | 보안 전송 요구 여부 |
resultset_metadata | FULL | 결과셋 메타데이터 수준 |
rpl_read_size | 8192 (8KB) | 복제 읽기 크기 |
rpl_semi_sync_master_enabled | (없음) | 반동기 마스터 활성화 여부 |
rpl_semi_sync_master_timeout | (없음) | 반동기 마스터 타임아웃 |
rpl_semi_sync_master_trace_level | (없음) | 반동기 마스터 추적 수준 |
rpl_semi_sync_master_wait_for_slave_count | (없음) | 반동기 마스터 슬레이브 대기 수 |
rpl_semi_sync_master_wait_no_slave | (없음) | 반동기 마스터 슬레이브 없음 대기 여부 |
rpl_semi_sync_master_wait_point | (없음) | 반동기 마스터 대기 지점 |
rpl_semi_sync_replica_enabled | (없음) | 반동기 복제본 활성화 여부 |
rpl_semi_sync_replica_trace_level | (없음) | 반동기 복제본 추적 수준 |
rpl_stop_replica_timeout | (없음) | 복제본 중지 타임아웃 |
secondary_engine_cost_threshold | 0 | 보조 엔진 비용 임계값 |
secure_file_priv | (설정에 따라 다름) | 보안 파일 권한 디렉토리 |
select_into_buffer_size | 131072 (128KB) | SELECT INTO 버퍼 크기 |
select_into_disk_sync | OFF | SELECT INTO 디스크 동기화 여부 |
select_into_disk_sync_delay | 0 | SELECT INTO 디스크 동기화 지연 |
server_id | 0 | 서버 ID |
server_uuid | (자동 생성) | 서버 UUID |
session_memory_limit | 18446744073709551615 (무제한) | 세션 메모리 제한 |
session_track_gtids | OFF | 세션 GTID 추적 여부 |
session_track_schema | ON | 세션 스키마 추적 여부 |
session_track_state_change | OFF | 세션 상태 변경 추적 여부 |
session_track_system_variables | time_zone,autocommit,character_set_client,collation_connection,character_set_results | 세션 시스템 변수 추적 |
session_track_transaction_info | OFF | 세션 트랜잭션 정보 추적 여부 |
sha256_password_auto_generate_rsa_keys | ON | SHA256 비밀번호 RSA 키 자동 생성 여부 |
sha256_password_private_key_path | private_key.pem | SHA256 비밀번호 개인 키 경로 |
sha256_password_proxy_users | OFF | SHA256 비밀번호 프록시 사용자 |
sha256_password_public_key_path | public_key.pem | SHA256 비밀번호 공개 키 경로 |
show_create_table_skip_secondary_engine | OFF | CREATE TABLE에서 보조 엔진 생략 여부 |
show_create_table_verbosity | OFF | CREATE TABLE 상세도 |
show_gipk_in_create_table_and_information_schema | ON | GIPK 표시 여부 |
show_old_temporals | OFF | 구 시간 데이터 표시 여부 |
skip_external_locking | ON | 외부 잠금 건너뛰기 여부 |
skip_name_resolve | OFF | 이름 해석 건너뛰기 여부 |
skip_networking | OFF | 네트워킹 비활성화 여부 |
skip_show_database | OFF | SHOW DATABASE 건너뛰기 여부 |
slow_launch_time | 2 | 느린 시작 시간 (초) |
slow_query_log | OFF | 느린 쿼리 로그 활성화 여부 |
slow_query_log_file | host_name-slow.log | 느린 쿼리 로그 파일 경로 |
socket | (플랫폼에 따라 다름) | 유닉스 소켓 파일 경로 |
sort_buffer_size | 262144 (256KB) | 정렬 버퍼 크기 |
source_verify_checksum | OFF | 소스 체크섬 검증 여부 |
sql_auto_is_null | OFF | 자동 IS NULL 사용 여부 |
sql_big_selects | ON | 큰 SELECT 허용 여부 |
sql_buffer_result | OFF | SQL 결과 버퍼링 여부 |
sql_generate_invisible_primary_key | OFF | 보이지 않는 기본 키 생성 여부 |
sql_log_bin | ON | SQL 바이너리 로깅 여부 |
sql_log_off | OFF | SQL 로깅 비활성화 여부 |
sql_mode | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION | SQL 동작 모드 |
sql_notes | ON | SQL 노트 활성화 여부 |
sql_quote_show_create | ON | SHOW CREATE에서 따옴표 사용 여부 |
sql_replica_skip_counter | (없음) | 복제본 건너뛰기 카운터 |
sql_require_primary_key | OFF | 기본 키 요구 여부 |
sql_safe_updates | OFF | 안전 업데이트 모드 여부 |
sql_select_limit | 18446744073709551615 (무제한) | SELECT 제한 행 수 |
sql_warnings | OFF | SQL 경고 활성화 여부 |
ssl_ca | (없음) | SSL CA 파일 경로 |
ssl_capath | (없음) | SSL CA 디렉토리 경로 |
ssl_cert | (없음) | SSL 인증서 파일 경로 |
ssl_cipher | (없음) | SSL 암호 목록 |
ssl_crl | (없음) | SSL CRL 파일 경로 |
ssl_crlpath | (없음) | SSL CRL 디렉토리 경로 |
ssl_fips_mode | OFF | SSL FIPS 모드 |
ssl_key | (없음) | SSL 키 파일 경로 |
ssl_session_cache_mode | ON | SSL 세션 캐시 모드 |
ssl_session_cache_timeout | 300 | SSL 세션 캐시 타임아웃 (초) |
sync_binlog | 1 | 바이너리 로그 동기화 주기 |
sync_frm | (없음) | FRM 파일 동기화 여부 |
sync_master_info | (없음) | 마스터 정보 동기화 주기 |
sync_relay_log | (없음) | 릴레이 로그 동기화 주기 |
sync_relay_log_info | (없음) | 릴레이 로그 정보 동기화 주기 |
sync_source_info | (없음) | 소스 정보 동기화 주기 |
system_time_zone | (플랫폼에 따라 다름) | 시스템 시간대 |
table_definition_cache | 2000 | 테이블 정의 캐시 크기 |
table_encryption_privilege_check | OFF | 테이블 암호화 권한 검사 여부 |
table_open_cache | 4000 | 열린 테이블 캐시 크기 |
table_open_cache_instances | 16 | 열린 테이블 캐시 인스턴스 수 |
tablespace_definition_cache | 256 | 테이블스페이스 정의 캐시 크기 |
temptable_max_mmap | 1073741824 (1GB) | Temptable 최대 메모리 매핑 크기 |
temptable_max_ram | 1073741824 (1GB) | Temptable 최대 RAM 크기 |
temptable_use_mmap | ON | Temptable 메모리 매핑 사용 여부 |
thread_cache_size | 9 (최소값, 자동 조정됨) | 스레드 캐시 크기 |
thread_concurrency | (없음) | 스레드 동시성 |
thread_handling | one-thread-per-connection | 스레드 처리 방식 |
thread_pool_algorithm | 0 | 스레드 풀 알고리즘 |
thread_pool_dedicated_listeners | OFF | 스레드 풀 전용 리스너 여부 |
thread_pool_high_priority_connection | 0 | 스레드 풀 높은 우선순위 연결 |
thread_pool_max_active_query_threads | 0 | 스레드 풀 최대 활성 쿼리 스레드 수 |
thread_pool_max_transactions_limit | 0 | 스레드 풀 최대 트랜잭션 제한 |
thread_pool_max_unused_threads | 0 | 스레드 풀 최대 미사용 스레드 수 |
thread_pool_oversubscribe | 3 | 스레드 풀 초과 구독 |
thread_pool_prio_kickup_timer | 1000 | 스레드 풀 우선순위 킥업 타이머 |
thread_pool_priority | auto | 스레드 풀 우선순위 |
thread_pool_size | (CPU 코어 수에 따라 다름) | 스레드 풀 크기 |
thread_pool_stall_limit | 500 | 스레드 풀 스톨 제한 |
thread_stack | 294912 (플랫폼에 따라 다름) | 스레드 스택 크기 |
time_zone | SYSTEM | 시간대 |
tls_ciphersuites | (없음) | TLS 암호 스위트 |
tls_version | TLSv1.2,TLSv1.3 | TLS 버전 |
tmp_table_size | 16777216 (16MB) | 임시 테이블 크기 |
tmpdir | (시스템 기본 임시 디렉토리) | 임시 파일 디렉토리 |
transaction_alloc_block_size | 8192 (8KB) | 트랜잭션 할당 블록 크기 |
transaction_isolation | REPEATABLE-READ | 트랜잭션 격리 수준 |
transaction_prealloc_size | 4096 (4KB) | 트랜잭션 사전 할당 크기 |
transaction_read_only | OFF | 트랜잭션 읽기 전용 여부 |
transaction_write_set_extraction | OFF | 트랜잭션 쓰기 집합 추출 |
unique_checks | ON | 고유성 검사 여부 |
updatable_views_with_limit | YES | LIMIT이 있는 뷰 업데이트 허용 여부 |
use_secondary_engine | ON | 보조 엔진 사용 여부 |
validate_password.check_user_name | ON | 비밀번호 사용자 이름 검사 여부 |
validate_password.dictionary_file | (없음) | 비밀번호 사전 파일 경로 |
validate_password.length | 8 | 비밀번호 최소 길이 |
validate_password.mixed_case_count | 1 | 비밀번호 대소문자 혼합 개수 |
validate_password.number_count | 1 | 비밀번호 숫자 개수 |
validate_password.policy | MEDIUM | 비밀번호 정책 수준 |
validate_password.special_char_count | 1 | 비밀번호 특수문자 개수 |
version | (MySQL 버전에 따라 다름) | MySQL 버전 |
version_comment | (컴파일 정보에 따라 다름) | 버전 코멘트 |
version_compile_machine | (컴파일 머신에 따라 다름) | 컴파일 머신 |
version_compile_os | (컴파일 OS에 따라 다름) | 컴파일 운영체제 |
version_compile_zlib | (zlib 버전에 따라 다름) | 컴파일 zlib 버전 |
wait_timeout | 28800 | 대기 타임아웃 (초) |
warning_count | 0 | 경고 수 |
windowing_use_high_precision | ON | 윈도우 함수 고정밀도 사용 여부 |
'데이터베이스 > Mysql' 카테고리의 다른 글
[Docker] 우분투 기반 컨테이너에서 Mysql 8.0 client 설치 (0) | 2024.09.03 |
---|---|
innodb: unable to lock ./ibdata1 error: 11 해결 방안 (0) | 2024.08.23 |
Mysql 8.0 Public key retrieval is not allowed 이슈 (0) | 2023.12.06 |
Ubuntu 22.04 소스코드를 통해 mysql 5.7 설치 (1) | 2023.12.06 |