Sana Modi is a technology expert and content writer at nosware. She has a tremendous knowledge of the latest social sites apart from social media, she also examined the latest games and laptops and has personally reviewed the products. She loves to explore all the social media sites and research them.
Last Updated on November 10, 2022 by SanaModi
To install MySQL Server on your smartphone using Termux, just follow this command.
apt update
apt upgrade
apt install mariadb
cd /data/data/com.termux/files/usr/etc/
mkdir my.cnf.d
mysql_install_db
mysqld_safe -u root &
mysql -u root
show databases;
See the video:
Dude termux da nano /etc/mysql/mysql.conf.d/mysqld.cnf
I can’t find this path There is no mysqld.cnf file
If not found you can create first
when I write $mysql -u root
they reply me, Access denied for user ‘root’@’localhost’
😢😢
That’s mean the root don’t have access, you can try to googling for this error happen