티스토리 뷰

Mysql

MySQL 실행

babydeveloper 2022. 3. 19. 17:39
C:\MAMP\bin\mysql\bin>mysql -uroot -proot
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.7.24 MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

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>

윈도우 MYsql 로그인 방법입니다!!

 

윈도우 : cd MAMP/bin/mysql/bin
윈도우 로그인 : mysql -uroot -proot

 

MacBook-Air ~ % cd /Applications/MAMP/Library/bin
MacBook-Air bin % sudo ./mysql -uroot -p
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 186
Server version: 5.7.34 MySQL Community Server (GPL)
Copyright (c) 2000, 2021, 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>

애플 Mysql 로그인 방법입니다!

 

맥 : cd /Applications/MAMP/Library/bin
맥 로그인 : sudo ./mysql -uroot -p //컴퓨터암호 -> mysql 암호

반응형

'Mysql' 카테고리의 다른 글

Mysql 테이블 수정  (1) 2022.03.29
Mysql 테이블  (3) 2022.03.23
Mysql 데이터베이스  (2) 2022.03.21
Mysql MAMP 사용  (5) 2022.03.16
Mysql 소개  (14) 2022.03.11
댓글
© 2022 babydevelop