1. MariaDB .tar.gz 파일 다운로드 사이트 (버전 별로 다운로드 가능)

https://mariadb.org/download/?t=mariadb&o=true&p=mariadb&r=10.1.48&os=Linux&cpu=x86_64&pkg=tar_gz&i=systemd

 

Download MariaDB Server - MariaDB.org

REST API Release Schedule Reporting Bugs … Continue reading "Download MariaDB Server"

mariadb.org

2. .tar.gz 설치 방법

https://lahuman.github.io/mariadb_install_with_tar.gz/

 

MariaDB를 binary tar.gz 파일로 설치 하자

설치는 별거 없다.

lahuman.github.io

 

3. .tar..gz로 설치한 MariaDB 실행, 접속 방법

MariaDB를 설치한 폴더(필자는 /usr/bin/mysql)로 들어가 다음을 실행한다.

 

# 실행

./bin/mysqld_safe --datadir='./data' &

 

# 접속

 ./bin/mysql -uroot -p

1. apt-get 을 이용하거나 yum 을 이용해서 curlftp를 다운로드 하면 된다.

 

# apt-get 이용

sudo apt-get install curlftpfs

 

# yum 이용

sudo yum install -y epel-release
sudo yum install -y curlftpfs

 

2. curlftp를 이용해 마운트

# [SERVER]에 FTP 서버 입력 ,

# [PATH]에 마운트할 폴더경로 입력 

# SERVER 와 PATH 사이 공백

sudo curlftpfs -o user=ID:PW -o codepage=cp949 -o allow_other ftp://[SERVER] [PATH]

 

3. 마운트 해제

fusermount -u [PATH]

1. 설치 및 서버 세팅

출처 : https://bangu4.tistory.com/128

 

[Server] Centos7 - MariaDB 10.4.17 설치 (yum 사용)

DB설치전에 검토사항들이 많이있다. 어떤 버전으로 설치할것인지 내가 사용하는 리눅스 버전에 맞게, 설치하려는 버전에 맞게 Repo를 설정하고 설치해야한다. 필자의 서버는 Centos 7.8이며, MariaDB v

bangu4.tistory.com


2. 외부접속 허용

출처 :
https://yjh5369.tistory.com/entry/CentOS-7-MariaDBmysql-%EC%99%B8%EB%B6%80-%EC%A0%91%EC%86%8D-%EA%B0%80%EB%8A%A5%ED%95%98%EA%B2%8C-%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95

 

CentOS 7] MariaDB(mysql) 외부 접속 가능하게 하는 방법

mysql과 mariadb는 기본 명령어가 같기 때문에 같은 명령어로 외부 접속이 가능하도록 할 수 있습니다. // mariadb 접속 # mysql -u root -p // database를 mysql로 변경 $ use mysql; $ select host, user from u..

yjh5369.tistory.com

 

.tar.gz 파일로 MariaDB를 세팅한 경우 아래 명령어를 이용할 수 없습니다.

 

시작
systemctl start mariadb

종료
Systemctl stop mariadb

재시작
systemctl restart mariadb

자동 재시작
systemctl enable mariadb

db 서버 세팅
/etc/my.cnf

파이썬에서 세팅
connection.execute('set max_allowed_packet=67108864')

+ Recent posts