M1์นฉ์ ํ์ฌํ ์๋ก์ด ๋งฅ์์ Homebrew๋ฅผ ์ค์น
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/nrubin29/bea5aa83e8dfa91370fe83b62dad6dfa/raw/48f48f7fef21abb308e129a80b3214c2538fc611/homebrew_m1.sh)"
brew ์ค์น๊ฐ ์๋ฃํ ์ ๋ฐ์ดํธ
brew update
mysql์ ์ค์น
$ brew install mysql
mysql ์๋น์ค ์ผ๊ธฐ
$ brew services start mysql
๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅ
mysql -uroot -p
๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชฉ๋ก ์กฐํ
show databases;
์ฝ์ ์ข ๋ฃ
mysql> exit
mysql ์๋น์ค๋ฅผ ์ข ๋ฃ
$ brew services stop mysql
'Develop > DB' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[RDBMS Modeling ๊ธฐ์ด] 6. ๊ด๊ณ(Relation) - ์ฐ์ต๋ฌธ์ 1 (0) | 2023.03.08 |
---|---|
[RDBMS Modeling ๊ธฐ์ด] 5. ๊ด๊ณ(Relation) - ์ฐ์ต๋ฌธ์ (0) | 2023.03.01 |
[RDBMS Modeling ๊ธฐ์ด] 4. ๊ด๊ณ(Relation) - M:N ๊ด๊ณ (0) | 2023.02.28 |
[RDBMS Modeling ๊ธฐ์ด] 3. ๊ด๊ณ(Relation) - 1:M ๊ด๊ณ (0) | 2023.02.27 |
[RDBMS Modeling ๊ธฐ์ด] 2. Primary Key ์ค๊ณ (0) | 2023.02.26 |