본문 바로가기

DB/SQLite

Ubuntu에 SQLite 설치하기

반응형

1. sqlite3 설치 전 패키지 update and upgrade

 

john@gpjigi.co.kr$ sudo apt update && sudo apt upgrade

 

2. sqlite3 설치하기

john@gpjigi.co.kr$ sudo apt install sqlite3

 

3. version 확인

 

john@gpjigi.co.kr$ sqlite3 --version

 

 

  • Table, Table 구조

https://sosodev.tistory.com/entry/DB-Sqlite-table-%EB%B3%B4%EA%B8%B0-table-%EA%B5%AC%EC%A1%B0-%EB%B3%B4%EA%B8%B0

 

DB > Sqlite > table 보기, table 구조 보기

1. db 보기 현재 사용하고 있는 데이터베이스를 확인한다. sqlite> .database main: /home/ubuntu/db/main.db 2. table 보기 현재 사용하고 있는 데이터베이스에 있는 table을 모두 보여 준다. sqlite> .tables ta..

sosodev.tistory.com

 

반응형

'DB > SQLite' 카테고리의 다른 글

[ SQLite ] table 보기, table 구조 보기  (0) 2021.08.03