DB/MySQL

MySQL 다운로드 및 세팅 + DBeaver 연동

쏠솔랄라 2023. 7. 12. 16:43

 

 

MySQL

 

 

기존에 사용하던 SQL Developer가 익숙하긴 한데

프로젝트 진행을 위해 MySQL을 사용하게 되어서

새롭게 MySQL을 설치

 

https://www.mysql.com/

 

MySQL

Over 2000 ISVs, OEMs, and VARs rely on MySQL as their products' embedded database to make their applications, hardware and appliances more competitive, bring them to market faster, and lower their cost of goods sold. Learn More »

www.mysql.com

 

 

 

 

MySQL 사이트 접속 > DOWNLOADS

 

 

 

 

DOWNLOADS 탭 하단의 MySQL Community (GPL) Downloads

 

 

 

 

MySQL Community Server 버전으로 다운로드하겠습니다

이 버전은 MySQL Installer 버전을 포함하고 있다고 합니다

 

 

 

 

Download Page로 이동

 

 

 

 

성과 안정성을 고려해 가장 최신 버전의 전 단계인

8.0.32버전으로 다운로드

 

 

 

 

Choosing a Setup Type > Custom

 

 

 

 

MySQL Server 8.0.32 - X64

MySQL Workbench 8.0.32 - X64

Sample and Examples 8.0.32 - X86

 

 

 

 

Installation에서 3개 모듈 다운로드 되었는지 확인

 

 

 

Type and Networking

Authentication Method

 

기본 세팅으로 Next

 

 

 

 

Accounts and Roles > MySQL Root Password 설정

* root : 가장 상위에 존재하는 최고 관리자 계정 ; 기본이니 admin으로 설정하고 Next

 

 

 

 

Windows Service

 

기본 세팅된 상태로 넘어가기

프로그램 설정에서 MySQL80이라는 이름으로 저장될 것

 

 

 

 

Apply Configuration

Product Configuration

 

기본 세팅된 상태로 Next

 

 

 

Connect To Server

root 계정의 비밀번호를 저장해 Check 후 Next

 

 

 

 

모든 세팅이 완료되면 Execute로 설치 완료

 

 


 

 

DBeaver

 

 

https://dbeaver.io/

 

DBeaver Community | Free Universal Database Tool

DBeaver Universal Database Tool DBeaver Community is a free cross-platform database tool for developers, database administrators, analysts, and everyone working with data. It supports all popular SQL databases like MySQL, MariaDB, PostgreSQL, SQLite, Apach

dbeaver.io

 

 

 

 

DBeaver Community > Download

 

 

 

 

페이지 하단의 Archive: 항목의 archive로 이전 버전 다운로드 페이지로 이동

 

 

 

 

호환성을 고려해 23.0.1버전으로 다운로드

 

 

 

 

사용환경에 따라 버전 선택

window > 64bit 버전으로 다운로드했습니다

 

 

 

 

설치 후 실행 환경

 

 

 

 

데이터베이스 > 새 데이터베이스 연결

 

 

 

 

연결할 데이터베이스 선택 > MySQL

 

 

 

 

root 비밀번호 입력 후 Test Connection 버튼으로 연결 테스트

 

 

 

 

allowPublicKeyRetrieval > TRUE

useSSL > FALSE

 

Driver properties 세팅

 

 

 

 

로컬 호스트 생성 확인