티스토리 뷰

프로그래밍/C#

맥 터미널에서 MySQL 접속하기

뽀로로친구에디 2018. 9. 21. 18:21

맥 터미널에서 MySQL 접속하기

다음과 같은 명령어를 사용한다. 

$ cd /usr/local/mysql/bin/

$ ./mysql -uroot -p


jeong-umaegbug-ui-MacBook-Pro:~ jeongwoomac$ cd /usr/local/mysql/bin/

jeong-umaegbug-ui-MacBook-Pro:bin jeongwoomac$ ./mysql -uroot -p

Enter password: 

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 29

Server version: 8.0.12 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> 




댓글
최근에 달린 댓글
글 보관함
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Total
Today
Yesterday
    뽀로로친구에디
    최근에 올라온 글