How to install mysql server in android phone.

uzairk(54)
Published in
#mysql
Words
142
Reading
1 min
Listen
Play
7y

First install an application named 'Termux' from playstore.

Screenshot_2019-09-18-10-31-14-690_com.android.vending.png

Open it and wait till installation is done then follow the steps.

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.
3] Type pkg install mariadb and press enter. Allow some time to install it.
4] 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 3] Then type cd ../usr/etc and press enter and type mkdir my.cnf.d and press enter and try again from step 3]

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

Screenshot_2019-09-18-10-56-08-554_com.termux.png

Screenshot_2019-09-18-10-56-22-807_com.termux.png

Screenshot_2019-09-18-10-56-41-523_com.termux.png

Click here to see video on these steps.

How to install mysql server in android phone. | Ecency