728x90
반응형
# brew install after
~ brew install mysql@5.7
~ echo 'export PATH="/opt/homebrew/opt/mysql@5.7/bin:$PATH"' >> ~/.zshrc
~ source ~/.zshrc
~ mysql.server start
Starting MySQL
SUCCESS!
~ mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.42 Homebrew # 5.7 확인
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
728x90
반응형
'개발 > 기타' 카테고리의 다른 글
MAC - brew install (0) | 2024.11.22 |
---|---|
윈도우 choco 설치 (1) | 2024.11.19 |
CentOS 버전 업데이트 (0) | 2022.09.13 |
CentOS - Gitlab version update (2) | 2022.09.13 |
NPM package.json 버전 관리 (0) | 2022.06.14 |