메이저 버전이던 마이너버전이던 둘다 동일 1. mariadb 버전확인 [darksharavim.tistory.com]mysql -V mysql Ver 15.1 Distrib 10.3.35-MariaDB, for Linux (x86_64) using readline 5.1 2. innodb_fast_shutdown을 0으로 설정 [darksharavim.tistory.com]mysql -u root -p --execute="SET GLOBAL innodb_fast_shutdown=0" Enter password: [darksharavim.tistory.com] https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_fast_..
1. 다운로드 페이지 접속 https://mariadb.org/download/ Download MariaDB Server - MariaDB.org REST API Release Schedule Reporting Bugs … Continue reading "Download MariaDB Server" mariadb.org 2. OS 및 설치버전 선택 3. /etc/yum.repos.d경로에 mariadb.repo추가 # MariaDB 10.3 CentOS repository list - created 2022-07-19 04:26 UTC # https://mariadb.org/download/ [mariadb] name = MariaDB baseurl = https://tw1.mirror.blendbyt..
vi my.cnf [mysqld] ssl-ca = /home/mysql/fullchain3.pem ssl-key = /home/mysql/privkey3.pem ssl-cert = /home/mysql/cert3.pem service restart mysqld or mariadb MariaDB [(none)]> show variables like '%ssl%'; +---------------------+-----------------------------+ | Variable_name | Value | +---------------------+-----------------------------+ | have_openssl | YES | | have_ssl | DISABLED | | ssl_ca | /h..
데이터베이스 character set 확인 show create database 데이타베이스명 데이터베이스의 character set 변경 alter database 데이타베이스명 default character set = utf8 테이블 character set 확인 show create table 테이블명 테이블의 character set 변경 alter table 테이블명 default character set = utf8 각 컬럼별 character set 확인 show full columns from 테이블명 각 컬럼별 character set 변경 alter table 테이블명 \ modify column 컬럼명 varchar(20) character set utf8 collate utf8_g..
설치환경 [root@darksharavim ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 도커 설치 [root@darksharavim ~]# yum -y install docker 도커 서비스 상태확인 [root@darksharavim ~]# systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: http://docs.docker.com ..