mariadb & mysql

mariadb 설치

카리스마유 2017. 1. 9. 11:14

Ubuntu 14.04 에 MariaDB 10의 설치 방법



$sudo apt-get install python-software-properties 
$sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
$sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/10.1/ubuntu lucid main'
$sudo apt-get update
$sudo apt-get install mariadb-server


- add-apt-repository 이 없는경우 
$add-apt-repository 입력후 설치되지 않은 패키지 확인됨, apt-get으로 설치되지 않은 패키지를 설치함



maria db 실행
$ mysql -u root -p