본문 바로가기
Game Programming

mysql 기본 설정

by 게임혼 2023. 5. 8.

자꾸 까먹어서...

 

SET GLOBAL time_zone='Asia/Seoul';
SET time_zone='Asia/Seoul';
select @@global.time_zone, @@session.time_zone;
set global wait_timeout=30;
set global max_connections=500;
show global variables like 'wait_timeout';
show variables like 'general%';
show variables like 'interactive%';
SHOW VARIABLES LIKE '%max_connection%';
SHOW STATUS LIKE 'Threads_connected';

show processlist;
show full processlist;

 

explain 쿼리 성능 측정