๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ137

[MySQL] MariaDB root ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณ€๊ฒฝ (MariaDB 10.4 ์ด์ƒ) ๊ณต๋ถ€ํ•˜๋ ค๊ณ  ์„ค์น˜ํ•œ MairaDB root์˜ ๋น„๋ฐ€๋ฒˆํ˜ธ๊ฐ€ ๋„ˆ๋ฌด ๊ธธ์–ด... root ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ๋ฐ”๊พธ๊ณ ์ž ๊ตฌ๊ธ€๋ง ํ–ˆ๋‹ค. ๋‚˜๋Š” MariaDB 10.6.3 ์„ ์‚ฌ์šฉํ•œ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋น„๋ฐ€๋ฒˆํ˜ธ๋Š” qwer๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ๋กœ ํ–ˆ๋‹ค. 1. ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ mysql ๋กœ ๋ณ€๊ฒฝํ•œ๋‹ค. MariaDB [(none)]> use mysql 2. ์‹คํŒจํ•œ ๋ช…๋ น๋ฌธ -- ์‹คํŒจํ•œ ๋ช…๋ น๋ฌธ. MariaDB 10.4 ์ด์ „ ๋ฒ„์ „์—์„œ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๋‹ค MariaDB [myssql]> update user set password=password('qwer') where root='root'; - ๋‹ค์‹œ ๊ตฌ๊ธ€๋ง์„ ํ•˜๋‹ˆ, MariaDB 10.4๋ถ€ํ„ฐ๋Š” root ์˜ ํŒจ์Šค์›Œ๋“œ๋ฅผ ๋ณ€๊ฒฝํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ๋ฐ”๋€Œ์—ˆ๋‹ค๊ณ  ํ•œ๋‹ค. 3. ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณ€๊ฒฝ์— ์„ฑ๊ณตํ•œ ๋ช…๋ น๋ฌธ -- MariaDB 10.4 .. 2021. 7. 14.
[๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค] ๋ทฐ (View) - 2 ๋‹ค์Œ ์ฑ…์œผ๋กœ ๊ณต๋ถ€ํ•œ ๋‚ด์šฉ์„ ์ •๋ฆฌํ–ˆ๋‹ค. ์ œ๋ชฉ : ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์‹œ์Šคํ…œ (Database System Concepts) - 6th Edition ์ถœํŒ์‚ฌ : McGraw-Hill Korea http://www.kyobobook.co.kr/product/detailViewKor.laf?ejkGb=KOR&mallGb=KOR&barcode=9788960552036&orderClick=LAG&Kc= 4.2. SQL ์งˆ์˜์—์„œ ๋ทฐ์˜ ์‚ฌ์šฉ - ์ผ๋‹จ ๋ทฐ๋ฅผ ์ •์˜ํ•˜๋ฉด, ๊ทธ ๋ทฐ๊ฐ€ ์ƒ์„ฑํ•˜๋Š” ๊ฐ€์ƒ ๋ฆด๋ ˆ์ด์…˜์„ ์ง€์ •ํ•˜๊ธฐ ์œ„ํ•ด์„œ ๋ทฐ์˜ ์ด๋ฆ„์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. - physics_fall_2009 ๋ทฐ๋ฅผ ์‚ฌ์šฉํ•ด์„œ 2009๋…„ ๊ฐ€์„์— Watson ๋นŒ๋”ฉ์—์„œ ํ•œ ๋ชจ๋“  ์ˆ˜์—…์„ ์ฐพ๋Š” ์งˆ์˜๋ฅผ ์•„๋ž˜์™€ ๊ฐ™์ด ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ๋‹ค. select course_id fro.. 2021. 7. 14.
[MySQL] Windows ํ™˜๊ฒฝ์— MariaDB ์„ค์น˜ํ•˜๊ธฐ ๋‹ค์Œ ์ฑ…์„ ์ฐธ๊ณ ํ–ˆ๋‹ค.. ์ œ๋ชฉ : ์†Œ๋ฌธ๋‚œ ๋ช…๊ฐ•์˜ ๊น€์ƒํ˜•์˜ SQL ์ •๋ณต (Oracle, MSSQL, MariaDB ๊ธฐ๋ฐ˜ ์‹ค์Šตํ™˜๊ฒฝ) ์ถœํŒ์‚ฌ : McGraw-Hill Korea http://www.kyobobook.co.kr/product/detailViewKor.laf?ejkGb=KOR&mallGb=KOR&barcode=9791162244241&orderClick=LAG&Kc= [MariaDB์˜ ๋“ฑ์žฅ ๋ฐฐ๊ฒฝ] - MySQL ์€ ๊ฐ€์žฅ ์ฒ˜์Œ ์˜คํ”ˆ์†Œ์Šค DBMS๋กœ ์‹œ์ž‘ํ–ˆ๋‹ค. - Sun Microsystems์— ์ธ์ˆ˜๋˜๊ณ , ๋‹ค์‹œ 2010๋…„ Oracle์— ์ธ์ˆ˜๋˜์–ด ํ˜„์žฌ MySQL์€ Oracle์˜ ์†Œ์œ ์ด๋‹ค. - Oracle์—์„œ๋Š” MySQL์˜ ๋ถ€๋ถ„ ์œ ๋ฃŒํ™” ์ •์ฑ…์„ ์‹œํ–‰ํ•ด ๊ธฐ์กด ์‚ฌ์šฉ์ž๋“ค์ด ๋ถˆ์•ˆํ•ดํ•˜์ž ์›๊ฐœ๋ฐœ์ž๊ฐ€ 2009๋…„ MySQL.. 2021. 7. 14.
[๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค] ๋ทฐ (View) - 1 ๋‹ค์Œ ์ฑ…์œผ๋กœ ๊ณต๋ถ€ํ•œ ๋‚ด์šฉ์„ ์ •๋ฆฌํ–ˆ๋‹ค. ์ œ๋ชฉ : ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์‹œ์Šคํ…œ (Database System Concepts) - 6th Edition ์ถœํŒ์‚ฌ : McGraw-Hill Korea http://www.kyobobook.co.kr/product/detailViewKor.laf?ejkGb=KOR&mallGb=KOR&barcode=9788960552036&orderClick=LAG&Kc= Chapter 4. ์ค‘๊ธ‰ SQL 4.2. ๋ทฐ - ๋ชจ๋“  ์‚ฌ์šฉ์ž๊ฐ€ ์ „์ฒด ๋…ผ๋ฆฌ์  ๋ชจ๋ธ์„ ๋ณด๋Š” ๊ฒƒ์€ ๋ฐ”๋žŒ์งํ•˜์ง€ ์•Š๋‹ค. ๋”๊ตฌ๋‚˜, ๋ณด์•ˆ์ƒ ํŠน์ • ์ •๋ณด๋Š” ์‚ฌ์šฉ์ž์—๊ฒŒ ์ˆจ๊ฒจ์•ผ ํ•  ํ•„์š”๊ฐ€ ์žˆ๋‹ค. - ์˜ˆ๋ฅผ ๋“ค์–ด, ๊ต์ˆ˜์˜ ID, ์ด๋ฆ„, ํ•™๊ณผ ์ด๋ฆ„์€ ์‚ฌ๋ฌด์›์ด ์•Œ์•„๋„ ์ƒ๊ด€์ด ์—†์ง€๋งŒ ๊ต์ˆ˜์˜ ์—ฐ๋ด‰์— ๋Œ€ํ•ด์„œ๋Š” ๋ณผ ์ˆ˜ ์žˆ๋Š” ๊ถŒํ•œ์„ ๊ฐ€์ ธ์„œ๋Š” ์•ˆ ๋œ๋‹ค๊ณ ํ•˜์ž. ์ด.. 2021. 7. 13.