mac에서 카페24 node.js 호스팅 mySQL 접속
펌 스크립트
2019-01-02 12:41
카페24에서 웹어드민 서비스가 종료된 관계로 터미널에서 ssh로 접속을 한다.
DB정보 예)
도메인명: macmac.cafe24app.com
mySQL DB 아이디: macmac
mySQL DB 비밀번호: mac1234
1. 터미널 실행
2. amugae-MacBook:~ macmac$ ssh macmac@macmac.cafe24app.com
3.
The authenticity of host 'macmac.cafe24app.com (183.111.100.229)' can't be established.
ECDSA key fingerprint is 어쩌고 저쩌고 blah blah blah blah.
Are you sure you want to continue connecting (yes/no)? yes
4. macmac@macmac.cafe24app.com's password: mac1234
5. macmac@nodejs-003:~$ mysql -u macmac -p macmac
6. Enter password: mac1234
7.
Welcome to the MySQL monitor. Commands end with ; or \g.
어쩌고 저쩌고
mysql> SHOW DATABASES;