maria db 설치방법
Tip
DB
최고관리자
2024. 4. 4. 14:12:4

설치

$ apt update
$ apt install mariadb-server

 

설치확인 및 제어

$ systemctl status mariadb
$ systemctl start mariadb
$ systemctl stop mariadb
$ systemctl restart mariadb
$ dpkg -l | grep mariadb
 

 

접속 (root 계정인 경우)

$ mysql
  

 

제거 (깨끗이 지워지지 않으므로 dpkg -l | grep mariadb 명령으로 확인하며 지워야 함)

$ apt purge mariadb-server
$ dpkg -l | grep mariadb

 

 

© 2025 s2dio.kr All right reserved.