[MySQL] Ubuntu 18.04 Mysql(MariaDB) 구버젼 설치하기


[MySQL] Ubuntu 18.04 Mysql(MariaDB) 구버젼 설치하기

Mysql(MariaDB) 구버젼 설치 sudo apt update sudo apt install -y mysql-server # 외부 포트 열기 sudo ufw allow mysql # 시작등록 sudo systemctl enable mysql # Mysql 실행 sudo service mysql start # MariaDB 초기 설정 "Set root password"에서 엔터 후 사용할 비밀번호 2번 입력 후 모두 엔터 입력해주시면 됩니다. 최초 계정에는 비밀번호가 없기 때문에 엔터 후 비밀번호 설정 하신 후 모두 엔터하시면 됩니다. sudo mysql_secure_installation ※ 위 MariaDB 서비스를 시작해야 오류가 발생되지 않음 ※ 위 초기 설정이 안되는 경우 MariaDB가 실행되고 있는지 체크...


#db설치 #mariadb #mysql #ubuntu #설치 #우분투

원문링크 : [MySQL] Ubuntu 18.04 Mysql(MariaDB) 구버젼 설치하기