FAQ

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

클라우드 호스팅
작성자
hostway hostway
작성일
2022-05-24 15:28
조회
605
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