프로그래밍/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>