Using MySQL on Android phone

Опубликовано: 20 Июнь 2026
на канале: GCTechHub CSTutorials
509
10

Step-wise Installation and usage of Termux app on phone. With this app we can easily use MySQL commands on our Android phone.

1. First install an application named 'Termux' from Google PlayStore.
2. Wait for it to fully download and install.
3. Once installed, open it. The Termux 'terminal window' opens.
1] Type apt update and press enter.
2] After the script is over type * apt upgrade* and press enter.
(in both steps above and beyond press y wherever asked for.
4. Type "pkg install mariadb" and press enter. Allow some time to install it.
5. After successful installation follow these steps to start sql server
i) type mysqld_safe - u root & press enter
ii) type mysql press enter .
Mysql server is started successfully

if you get error in step 4. Then type cd ../usr/etc and press enter and type mkdir my.cnf.d and press enter and try again from step 4.

Follow step 5 every time you open termux to run sql server.