일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Class
- function
- javascript
- DoM
- Algorithm
- CSS
- DB
- Pipelining
- architecture
- DS
- web
- system
- computer
- for
- python
- Linux
- while
- MacOS
- control
- MIPS
- react
- instruction
- DATAPATH
- data structure
- github
- XML
- mysql
- Java
- php
- html
- Today
- Total
목록mysql (11)
YYYEJI

Sequel Ace는 Mac App Store에서 제공하는 MySQL GUI Tool 입니다. App store에 들어가서 sequel ace를 다운로드 해줍니다. 다운로드를 하고 앱을 실행신키면 아래와 같은 화면이 뜹니다. Name - 원하는 이름 Host - localhost Username - root Password - "????" Connect를 눌러줍니다. 상단에 보이는 노란색 드롭다운(dropdown) 버튼을 클릭하면 현재 가지고 있는 table 중에 하나를 선택할 수 있습니다. ◡̈

Docker Image는 도커에서 서비스 운영에 필요한 서버 프로그램, 소스코드 및 라이브러리, 컴파일된 실행 파일을 묶는 형태를 말합니다. 원하는 이미지를 다운받고 아래 코드와 같은 명령어를 터미널(Terminal)에 실행시킵니다. $ docker load -i db-image.tar 저는 교수님이 주신 이미지를 로드했습니다. Docker Container는 이미지(Image)를 실행한 상태로 격리된 공간에서 프로세스를 동작시키는 기술입니다. $ docker run --name MySQL -e MYSQL_ROOT_PASSWORD=0000 -d -p 3306:3306 db-image:latest --name 옆에 [원하는 컨테이너 이름]을 넣고, PASSWORD에는 비밀번호, 마지막에는 이미지를 넣어줍니..

DB 연동 실습을 하기 전에 링크(https://yyyeji.tistory.com/307)에 방문에서 PHP 실습을 맞춰주세요! PHP - 웹페이지에서 넘어온 value를 출력 DB - 웹페이지에서 넘어온 value를 저장 실습을 시작해봅시다. 우선 php 파일에 db를 연결하게 됩니다. Welcome Your email address is: 앞서 사용했던 DB 파일에 이어서 실습해보겠습니다. Welcome Your email address is:

SQL wildcards 란? 와일드카드는 문자를 문자열의 다른 문자로 대체하는데 사용합니다. Ex) LIKE etc .. % - 0, 1 또는 하나 이상의 char _ - 하나의 char ↓↓↓ Column1 중에 'a'로 끝나는 모든 data를 출력하는 query 문 ↓↓↓ SELECT * FROM Table_name WHERE Column1 LIKE '%a'; ↓↓↓ Column1 중에 'or' 문자가 포함되는 data를 출력하는 query 문 ↓↓↓ SELECT * FROM Table_name WHERE Column1 LIKE '%or%'; ↓↓↓ Column1 중에 'r'앞에는 한 문자만 'r' 뒤에는 여러 개의 문자가 포함되는 data를 출력하는 query 문 ↓↓↓ SELECT * FROM ..

↓↓↓ maven mysql ↓↓↓ https://mvnrepository.com/artifact/mysql/mysql-connector-java Connect를 선택해줍니다! 원하는 버전을 클릭하면. Maven을 다운로드할 수 있는 코드가 나옵니다. 코드를 복사해서 mysql mysql-connector-java 8.0.28 프로젝트 pom.xml 파일에 들어가 dependencies 태그 안에 붙여넣어 줍니다. ◡̈

DBeaver란? 무료로 사용 가능한 MySQL 편집 툴입니다. ↓↓↓ DBeaver Download ↓↓↓ https://yyyeji.tistory.com/231 [MacOS] DBeaver 다운받기 DBeaver란 무료로 사용 가능한 SQL 편집 툴입니다. 다운로드 하러가기 https://dbeaver.io/download/?start&os=win&arch=x86_64 Download | DBeaver Community Download Tested and verified for MS Windows, Linux and Mac OS X. Install: Windows in yyyeji.tistory.com 실습을 시작하겠습니다. ◡̈

DBeaver란 무료로 사용 가능한 MySQL 편집 툴입니다. ↓↓↓ DBeaver Download Link ↓↓↓ https://dbeaver.io/download/?start&os=win&arch=x86_64 Download | DBeaver Community Download Tested and verified for MS Windows, Linux and Mac OS X. Install: Windows installer – run installer executable. It will automatically upgrade version (if needed). MacOS DMG – just run it and drag-n-drop DBeaver into Applications. Debian packa..

DDL이란? ✓ Data Definition Language ✓ 필드 타입 • 정수형 - tinyint, smallint, int • 실수형 - decimal, float, double • 문자형 - char(n), varchar(n), text • 날짜형 - date, time, date time, timestamp char(n) vs varchar(n) • char(n) - n만큼 데이터 공간 고정해 놓는다. • varchar(n) - n은 max 데이터 공간으로 데이터의 공간이 가변적으로 줄었다 늘었다할 수 있다. 예제를 살펴봅시다. CREATE TABLE tablename{ column1 int auto_increment, column1 datatype, column2 datatype not nu..