[Ubuntu] MariaDB(Mysql) 설치하기 (수정)


[Ubuntu] MariaDB(Mysql) 설치하기 (수정)

Mysql 설치 # 최신 sudo apt update # "Mysql" 설치 sudo apt-get install -y mysql-server # 방화벽 "ufw"에서 "Mysql" 허용 sudo ufw allow mysql # "Mysql" 등록 및 실행 sudo systemctl enable mysql sudo systemctl start mysql 초기 셋팅 # MariaDB 초기 설정 "Set root password"에서 엔터 후 사용할 비밀번호 2번 입력 후 모두 엔터 입력해주시면 됩니다. 최초 계정에는 비밀번호가 없기 때문에 엔터 후 비밀번호 설정 하신 후 모두 엔터하시면 됩니다. sudo mysql_secure_installation ※ 위 MariaDB 서비스를 시작해야 오류가 발생되지 않음 ※ 위 초기 설정이 안되는 경우 MariaDB가 실행되고 있는지 체크 root 계정 비밀번호 변경 # "Mysql" 접속 sudo /usr/bin/mysql -u root -p ...


#mariadb #mariadb설치 #mysql #mysql설치 #ubuntu #우분투 #쿼리설치

원문링크 : [Ubuntu] MariaDB(Mysql) 설치하기 (수정)