데이터베이스/MSSQL&SQLite

[SQLite] Noejs SQLite 설치 간단예제

Unipiz 2020. 12. 8. 17:43

Nodejs SQLite Install

Nodejs 연동 바로가기 --> (준비중..)

 

Nodejs 연동 전 간단한 환경설정 진행

 

 

 

SQLite 설치

 

아래 주소에서 다운로드 진행

www.sqlite.org/download.html

 

SQLite Download Page

Templates (1) and (2) are used for source-code products. Template (1) is used for generic source-code products and templates (2) is used for source-code products that are generally only useful on unix-like platforms. Template (3) is used for precompiled bi

www.sqlite.org

 

 

 

 

운영체제에 맞게 설치, 윈도우 사용자라면 빨간박스 다운로드 후 압축풀기.

C:\sqlite 로 압축풀고 폴더명 수정 

 

 

 

폴더 안에 seqlite3.exe 을 cmd 전역에서 사용하기위해 환경변수 등록

 

 

 

 

시스템속성 -> 고급 -> 환경 변수->시스템변수(S) -> 새로 만들기 C:\sqlite 추가 후 확인

 

 

 

 

 

 

WIN+R -> cmd : sqlite3 

 

 

예제 DB다운로드

www.sqlitetutorial.net/sqlite-sample-database/

 

SQLite Sample Database And Its Diagram (in PDF format)

You can download a SQLite sample database and its diagram to practice with SQLite. You will also learn how to connect to the database using sqlite3 tool

www.sqlitetutorial.net

 

 

빨간박스 다운로드 후 적당한 폴더에 압축해제

 

sqlite3 C:\Users\yongjae.lee\nodejs\chinook.db

.tables

 

 

 

SELECT * FROM EMPLOYEES;

 

'데이터베이스 > MSSQL&SQLite' 카테고리의 다른 글

[MSSQL] MSSQL ROWID 행 수정  (0) 2022.07.08