서비스 기획자의 성장기록

맥에서 MySQL 설치 & 실행하기 본문

카테고리 없음

맥에서 MySQL 설치 & 실행하기

Jenny Noh 2023. 10. 18. 18:17

1. MySQL 설치

https://dev.mysql.com/downloads/mysql/

 

MySQL :: Download MySQL Community Server

Select Version: 8.1.0 Innovation 8.0.34 5.7.43 Select Operating System: Select Operating System… Microsoft Windows Ubuntu Linux Debian Linux SUSE Linux Enterprise Server Red Hat Enterprise Linux / Oracle Linux Fedora Linux - Generic Oracle Solaris macOS

dev.mysql.com

cf) ARM vs. x86

M1 칩은 ARM, M 칩은 x86

 

2. MySQL 실행하기

mac 터미널 창을 열고 아래 명령어들을 입력합니다.

 

1) 서버 시작하기

(base) jaeeunjennynoh@Jaes-MacBook-Air ~ % mysql.server start

(base) jaeeunjennynoh@Jaes-MacBook-Air ~ % mysql.server start

2) MySQL 접속하기

(base) jaeeunjennynoh@Jaes-MacBook-Air ~ % mysql -u root -p

 

3) 서버 종료하기

mysql.server stop

 

 

 

 

4. MySQL wokbench 설치

아래 링크 접속해서 버전에 맞는 workbench 다운로드

https://downloads.mysql.com/archives/workbench/

 

MySQL :: Download MySQL Workbench (Archived Versions)

Please note that these are old versions. New releases will have recent bug fixes and features! To download the latest release of MySQL Workbench, please visit MySQL Downloads. MySQL open source software is provided under the GPL License.

downloads.mysql.com