Termux DB: SQLite Guide
Loading...
>_ Termux DB Offline guide
ANDROID · TERMINAL · DATA

Your first database,
right on your phone.

A practical path to install an engine, create a table, and save your first data using Termux.

iIf you are just starting, choose SQLite: it doesn't need a server and works as a single file.
01CHOOSE YOUR PATH

What do you want to install?

You can change your option at any time.

SQLite
▣ SQLiteIdeal for getting started ✓ ◉ PostgreSQLFor robust projects ✓ ◆ MariaDBMySQL compatible ✓
02FOLLOW THE STEPS
0 / 4

SQLite en Termux

La opción más simple: una base local, ligera y sin configurar un servidor.

03BUILD YOUR EXAMPLE

Customize your names

Generate a block ready to paste into Termux.

Database name Table name
PREVIEWCopy block

        

✓

Three habits that save you trouble

  • Make a copy of the .db file before making major changes.
  • Use lowercase names without spaces to avoid errors.
  • Do not save passwords directly in a test table.