Skip to main content
GADGETS   COMPILER>



How To Install MYSQL On ANDROID ?

 

Step - 1

Install Termux application 

download here 👇

                                       ---DOWNLOAD---


Step -2

configure Termux

         👉 storage permission

         give permission so that you can modify the storage of device. Copy And Run in Termux


       👉 Utilities

         To Install Basic Commands - Copy The Code And Run in Termux


Step -3

Update packages to install mysql

           In your Termux application execute:





  • if the app asks 'choose yes' then enter  letter y - Execute
  • if ask to keep your current version then enter letter N - Execute
Step -4
Install MariaDB on Android using Termux


Accept everything by writing the letter y -Execute
It may take a while, it depends on your device, so be patient

Step -5
Configure MariaDB on Android


with that we install and create the MariaDB directories(i think it is automatically done)
  • Now start the MySQL daemon
To do this Execute


press enter & press enter again

The ampersand & is to run it in the background.

We are almost done

Step -6
Execute commands










Now.
  • Type 'mysql' to start 
  • Type 'exit' to stop.
......................................
When you open termux for second time

start the service 


&press enter , again press enter

Then,
Type 'mysql' to start 

......................................
Remember Close termux using 'exit' command
. otherwise a error will occur like this 

      [1]+  Exit 1    mysqld_safe -u root

it can be solved by exiting termux with 'exit' command and try again..




Comments

Contact Form

Name*

Email *

Message *