You need not internet connection while running SQL statements.
This video shows the installation of mariaDB in Termux emulator.
MariaDB doesn't support Data Masking and Dynamic column while MySQL supports it. Comparatively MariaDB is faster than MySQL
Important commands
1. pkg install mariadb
2. mysqld_safe -u root
3. mysql