Skip to content

RealMySQL vol1 예제 덤프 파일 설치 방법 #1

@jay-so

Description

@jay-so

📖 함께 읽어보면 좋은 자료 - vol1 예제 덤프 파일 설치


1️⃣ RealMySQL vol1 예제 덤프 파일 다운로드

  • 아래의 github에서 git clone을하여 예제 덤프 파일을 다운로드하면 됩니다!

RealMySQL 8.0 덤프파일 GitHub


2️⃣ employees.zip 파일 압축 해제 후, 터미널 이동

  • 해당 employees.zip파일을 해제합니다.

-> employees.sql 파일 생성

스크린샷 2024-05-05 오후 9 50 10

  • 해당 압축 파일을 푼 폴더 로 이동하여 터미널로 mysql 서버를 시작해 해당 SQL문을 삽입합니다.
  1. 해당 압축 파일로 이동한 후, mysql 서버 실행
mysql.server start
mysql -u root -p
  1. employees 데이터베이스 생성 및 덤프 파일 insert
CREATE DATABASE employees
DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;

USE employees;

SOURCE employees.sql;

3️⃣ 테이블 생성 완료 확인

스크린샷 2024-05-05 오후 10 00 56

Metadata

Metadata

Assignees

Labels

함께 읽어보면 좋은 자료공부를 하면서 함께 읽어보면 좋은 자료들을 의미합니다.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions