FAQ

데이터베이스 MySql에 접속방법을 알고 싶습니다.

서버호스팅/코로케이션
작성자
hostway hostway
작성일
2022-05-24 15:50
조회
1793

MySql 접속을 하기 위하여는 먼저 보안텔넷(SSH)을 통하여 웹 서버에 접속 후 아래 경로를 통하여 접속하여야 합니다.
보안텔넷 접속을 위하여는 보안텔넷 관련프로그램 Zterm, PuTTY, SSHWin 2.3, TeraTerm Pro 등을 PC에 설치하여야 합니다.

설치 접속 정보는 FTP 접속정보와 동일하나, 접속 포트번호만 22번으로 FTP 포트 번호와 구분됩니다. (FTP 포트번호 : 21번)

[SSH 프로그램 사용] = http://hostway.co.kr/support/manual/linux/ssh_3.htm

예) 도메인 : hostwaytest.co.kr

MySql 접속정보

서버주소 : mysql.hostwaytest.co.kr

DBNAME : hostwayDB

DBUSER : hostwayDB

PASSWD : hostPASS

-------------------------------------------------------------------------------

lsh814:~$ /usr/local/mysql/bin/mysql -h 서버주소 -u DBNAME -p DBUSER

Enter password: PASSWD

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

Your MySQL connection id is 4268292 to server version: 4.1.14-standard

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.



mysql>

-------------------------------------------------------------------------------

lsh814:~$ /usr/local/mysql/bin/mysql -h mysql.hostwaytest.co.kr -u hostwayDB -p hostwayDB

Enter password:hostPASS(실제 입력 시 보이지 않음)

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

Your MySQL connection id is 4268292 to server version: 4.1.14-standard

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql>

-------------------------------------------------------------------------------

[MySql 접속하기] = http://hostway.co.kr/support/manual/linux/sql_2.htm