Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- hackthissite
- CTF
- WebHacking
- 웹해킹
- pythonprogramming
- 프로그래밍
- 코딩
- Over The Wire
- SQL Injection
- webhacking.kr
- geminipro
- 사이버보안
- 인공지능
- sql injection bypass
- system hacking
- web-server
- Wargame
- overthewire
- burp suite
- web hacking
- 개발자
- write up
- 테크트렌드
- root me
- 웹개발
- 정보보안
- 웹해킹 기초
- Bandit
- lord of sqlinjection
- XSS GAME
Archives
- Today
- Total
컴맹에서 컴공 그리고 화이트 해커가 되는 그날까지
간단한 mysql 본문
반응형
mysql> create database login;
login이라는 이름의 database를 만들다.
mysql> show databases;
database들을 보여줘.
mysql> use login;
login database를 사용할 것이다.
mysql> create table user(id text,pw text);
user라는 이름의 table을 만들고 id와 pw를 text 형태로 저장한다.
mysql> show tables;
table들을 보여줘
mysql> insert into user(id,pw) values('test','test');
user table의 id와 pw에 test test 값을 넣는다.
mysql> select id,pw from user where id='test';
user table에서 id 값이 test인 id와 pw를 찾는다.
mysql> delete from user where pw='test';
user table에서 pw가 test인 데이터를 삭제한다.
mysql> drop table user;
user table을 삭제한다.
mysql> drop database login;
login database를 삭제한다.
반응형