MySQL 설치 방법
데이터베이스를 다루다 보면 가장 많이 사용되는 RDBMS 중 하나가 바로 MySQL이다. 개발 환경을 구축하거나, 데이터베이스를 활용한 프로젝트를 시작할 때 MySQL 설치는 필수적인 과정이다.
이 글에서는 Windows 환경에서 MySQL을 설치하는 방법을 차근차근 설명해놓았다. 초보자도 쉽게 따라할 수 있도록 설치 과정, 설정 방법, 기본적인 실행 명령어까지 자세히 정리했으니, 끝까지 따라오시면 MySQL을 무리 없이 설치할 수 있다!
1. https://dev.mysql.com/downloads/windows/installer/8.0.html
MySQL :: Download MySQL Installer
Note: MySQL 8.0 is the final series with MySQL Installer. As of MySQL 8.1, use a MySQL product's MSI or Zip archive for installation. MySQL Server 8.1 and higher also bundle MySQL Configurator, a tool that helps configure MySQL Server.
dev.mysql.com
위 링크에 접속
2. Download 클릭 > No thanks 클릭
3. MySQL Installer 실행 > Custom 선택 > Next
4. MySQL servers > MySQL servers > MySQL servers 8.0 > MySQL servers 8.0.37 -x64 선택 > 화살표 클릭
5. 다음과 같은 방법으로
Applications > MySQL workbench > MySQL workbench 8.0 > MySQL workbench 8.0.34 -x64
Documentation > Samples and Exmaples > Samples and Exmaples 8.0 > Samples and Exmaples 8.0.34 -x86
두 가지 선택 > Next
6. Execute
7. 완료시 Next > Next
8. 다음과 같이 설정 > Next
9. Use Legancy Authentication Method 체크 > Next
10. MySQL 관리자인 root 비밀번호 설정 및 재입력 > Next
(저는 간단하게 0000)으로 했습니다.
11. Windows Service Name을 MySQL80에서 MYSQL로 변경 > Next
12. 첫번째꺼 선택 > Next
13. Execute > Finish
14. Next > 아까 설정한 비밀번호 Password에 입력 > Check > Next
15. Execute > Finish
16. Next > Start MySQL workbench after setup 체크 해제 > Finish