Databases

Database Tools

PostgreSQL, MariaDB, SQLite, and MongoDB for your Termux development environment.

Available Databases

4 database management systems

PostgreSQL

postgresql

Advanced relational database system with ACID compliance, foreign keys, triggers, and stored procedures.

Features

ACID CompliantForeign KeysTriggers & Stored ProceduresJSON SupportFull-Text Search

Installation

core install db --postgresql

PostgreSQL Manager Commands

core pg startStart PostgreSQL server
core pg stopStop PostgreSQL server
core pg statusCheck server status
core pg initInitialize database
core pg create <name>Create database
core pg drop <name>Drop database
core pg listList databases
core pg shellOpen psql console

MariaDB

mariadb

MySQL-compatible relational database, fast, scalable and robust.

Features

MySQL CompatibleHigh PerformanceACID CompliantRow-level LockingAutomatic Recovery

Installation

core install db --mariadb

SQLite

sqlite

Lightweight, disk-based database that does not require a separate server process.

Features

Zero-ConfigurationServerlessTransactionalSmall FootprintStandard SQL

Installation

core install db --sqlite

MongoDB

mongodb

NoSQL document database with JSON-like documents and dynamic schema.

Features

Document-OrientedJSON-like DocumentsDynamic SchemaHorizontal ScalingRich Query Language

Installation

core install db --mongodb