Mac Command
server start
mysql.server start
orbrew services start mysql
server restart
mysql.server restart
orbrew services restart mysql
server stop
mysql.server stop
orbrew services stop mysql
mysql login
mysql -u root
-> (password input)
mysql logout
press 'control(^) + z' key
참고) brew 실행 프로그램 리스트
brew services list
Linux Command
server start
service mysql start
orsystemctl start mysql.service
server restart
service mysql restart
orsystemctl restart mysql.service
server stop
service mysql stop
orsystemctl stop mysql.service
mysql login
mysql -uroot -p
-> (password input)
mysql logout
press 'control(^) + z' key
'데이터베이스 > MySQL' 카테고리의 다른 글
[MySQL] Mac Mysql Password reset (1) | 2024.10.08 |
---|---|
[RealMySQL 8.0] Ch08. 인덱스 (1) | 2023.11.13 |
[RealMySQL 8.0] Ch06.데이터 압축 (1) | 2023.11.12 |
[RealMySQL 8.0] Ch05.트랜잭션과 잠금 (1) | 2023.11.11 |