mysql 명령어로 원격 cafe24의 mysql DB접속하기

2016. 12. 25. 16:21 - mr.november11

1. cafe24에 원격으로 mysql 접속을 하려면 우선 관리자 설정으로 허용 IP를 추가해야 한다. 

   


2. 원격지 서버에서 mysql -h <cafe24 홈페이지 주소> -u <계정이름> -p  실행 후 패스워드 인증 성공 시 아래와 같이 로그인에 성공한다. 


[aws]$ mysql -h <host_IP addr.> -u <ID> -p

Enter password:

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

Your MariaDB connection id is 398853

Server version: 10.1.13-MariaDB MariaDB Server


Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


MariaDB [(none)]> Ctrl-C -- exit!

Aborted

다른 카테고리의 글 목록

Linux 카테고리의 포스트를 톺아봅니다