본문 바로가기
CLASS/MYSQL

#1-1 / MYSQL start,setting

by eungSe__ 2024. 5. 30.

mysql 다운로드

 

try free -> oracle -> 이거 아님 xxxxx

MySQL Community (GPL) Downloads »  =>   Download Archives   or   MySQL Community Server

=> msi 다운로드 - complete (visual strudi ~ 어쩌구로 다운 안될 시 2019 visual c++ runtime downloads 다운로드)

 

Data directory - D:\MySQL\MySQL Server 8.4\

type and Networking config type - development  computer 

Accounts and Roles - password 세팅

apply configuration - excute 버튼 : 내 컴퓨터 검토 (x 뜨면 문제상황 찾아야함 - 모두 check되어야함)

-> finish

 

port : 3306 ( MySql = MariaDB )

netstat -an 확인

: 서비스 -> 해당 sql 중지 : 죽일 수 있음 (다시 활성화 가능)

 

cmd

C:\Program Files\MySQL\MySQL Server 8.4 에서 cd bin + tab

C:\Program Files\MySQL\MySQL Server 8.4\bin>

C:\Program Files\MySQL\MySQL Server 8.4\bin>mysql -u root -p

=> 비밀번호 입력 => exit 나가기

( u : user / p : password ㅋㅋ...)  

 


[RDBMS]  : 데이터베이스

- DBMS를 조작하는데 사용되는 언어

 

* MySql = MariaDB (Mysql 회사가 oracle한테 팔림 둘이 똑같음) - 데이터베이스 공유 가능

MySql다운시 MariaDB 동시에 다운로드,작동 불가 : port번호가 똑같음 3306

 

* Mssql : port 1443 (MySql이랑은 다름) / Oracle : port 1521 : 둘이 비슷

 

* 네이버 CURBRID(oracle이랑 비슷)

 

[ DBMS - NoSQL ] 

- DBMS가 갖고 있는 특성뿐만 아니라, 다른 특성들을 부가적으로 지원( DBMS )

 

* NoSQL : ( not only sql ) RDBMS랑 다름

-> MongoDB,Redis,PostgreSQL 등... 이 있다.. (이 셋이 가장 많이 쓰임)


[ DDL , DML  , DCL ]

 

DDL - create,alter,drop 등
DML - select,insert,update,delete 등
DCL - commit,view,trigger,mysql(database 사용자 추가, db연결) 등

'CLASS > MYSQL' 카테고리의 다른 글

#3-2 / 외부 사용자 추가 방법  (0) 2024.06.04
#3-1 / unique, alter문법  (0) 2024.06.04
#2-3 / database table 설계  (0) 2024.06.03
#2-2 / 사용자에게 권한주기  (0) 2024.06.03
#2-1 / MYSQL 기초문법  (0) 2024.06.03