Linux ( APT Package )

MySQL install

본 토픽은 현재 준비중입니다.공동공부에 참여하시면 완성 되었을 때 알려드립니다.

 

a. MySQL Download

sudo apt-cache search mysql-server

 

 

 

 

b. MySQL install

sudo apt-get install mysql-server

 

 

 

 

c. Run MySQL

mysql -uroot -p

 

show databases;

( 전체 DB 확인 )

show tables;

( 선택한 DB의 전체 Table 확인 )

 

 

 

 

 

Example

create database SAMPLE;

( SAMPLE DB 추가 )

 

show databases;

( 전체 DB 확인 )

 

use DB_SAMPLE;

( SAMPLE DB를 사용 )

 

show tables;

( SAMPLE DB의 Table 확인 )

 

 

 

 

 

  • 봤어요 0명

댓글

댓글 본문