[환경 세팅] 7. MySQL 설치하기

문정준's avatar
Feb 24, 2025
[환경 세팅] 7. MySQL 설치하기

1. MySQL Downloader 설치

1. 홈페이지 접속

  • MySQL Community 클릭
    • 검색 포털에 ‘MySQL Community Download’로 바로 접속해도 됨
notion image

2. MySQL Installer for Windows 클릭

notion image
 

3. 용량이 많은 Installer 설치 (용량이 적은 건 web 설치)

notion image

4. 로그인 창이 뜨면 아래 링크 클릭

notion image
 

2. MySQL Installer 실행

1. Setup

  • Server Only 선택 후 Next
notion image
 
  • 설치될 제품 확인 후 Execute
notion image
 
  • Next, Finish 눌러서 설치 완료 확인
notion image
notion image

2. 네트워크 설정

  • TCP/IP 설정 (IP를 통해 접속할 것임)
  • Port (ServerSocket) : 3306 (default)
    • 방화벽 옵션 필히 체크!
  • 체크 후 Next
notion image
 
  • 위의 버튼 클릭 후 Next
notion image
 
  • 비밀번호 설정 후 Next
    • 비밀번호는 절대 잊지 않도록 메모하기
notion image
 
  • Next
notion image
 
  • 변경사항 확인 후 Execute
notion image
 
  • 설치 완료 후 Finish
notion image
 

3. 추가 기능 설치

  • Installer 다시 실행 후 Add
notion image
 
  • MySQL WorkBench 8.0.41 (버전에 맞게) 선택 후 추가
notion image
 
  • 설치 완료 후 Finish
notion image
 
  • MySQL Workbench 실행 확인
notion image
 

3. 네트워크 설정

1. 새 네트워크 생성

  1. DB 이름 생성
  1. Store in Vault 클릭 후 비밀번호 저장
  1. Test Connection 클릭해서 연결 확인
  1. 설정 저장
notion image
 
  • Test Connection이 성공적으로 완료되면 아래와 같은 창 출력
notion image
 

2. DB 접속

notion image

3. 테스트

notion image
Share article

sxias