커맨드상에서의 원격 접속 명령어는 다음과 같은 형식을 갖는다.
mysql@cosmos:~$ mysql -u [사용자명] -h [호스트명 또는 IP] -p [접속하려는DB]
E.G
mysql@cosmos:~$ mysql -u ***** -h ***.***.***.***. -p ******
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 61
Server version: 5.6.19-0ubuntu0.14.04.1 (Ubuntu)
Copyright (c) 2000, 2014, 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>
'Database' 카테고리의 다른 글
How to Install MariaDB 10.0 on Ubuntu 14.10, 14.04 & 12.04 LTS (0) | 2015.06.04 |
---|---|
MySql V5.6.24 설치 on Ubuntu 14.04 (0) | 2015.05.25 |
MySQL Database 백업 및 복구 (0) | 2014.09.11 |
Oracle 데이터베이스 Export & Import (0) | 2014.09.03 |
Data Relationship Symbols (0) | 2014.07.02 |