+ 1

Sql in Mobile??

I have pydriod installed and have also downloaded mysql connector module, now I want to use SQL through python in mobile phone but don't know how to do that.

16th Oct 2019, 12:31 PM
Akash
Akash - avatar
6 Answers
+ 4
Jan Markus - thank you for the clarification. I understand the difference with SQLite and MySQL but have not worked with either on Python in Android. I tried it out tonight on Pydroid3 using the SQLite library. It worked great. I'll link to the code. You can copy it to Pydroid but you'll need to have the necessary permissions to write a database file in whatever directory you want. The code as written just sticks it in the Pydroid directory which didn't cause an issue for me. After creating the database in Python, I was able to open it and view the data in a SQLite client on Android. Akash Sil, hopefully this is helpful. https://code.sololearn.com/cj1rrKA7KgDw/?ref=app
21st Oct 2019, 6:11 AM
Chris Hansen
+ 2
Jan Markus how do I use SQLite database and pydroid 3 together
16th Oct 2019, 1:00 PM
Akash
Akash - avatar
+ 1
Jan Markus and Chris Hansen both of thank you very much 😊
21st Oct 2019, 6:24 PM
Akash
Akash - avatar
0
you can search mysql server or mariadb server in playstore
16th Oct 2019, 12:33 PM
Taste
Taste - avatar
0
You may need to install a sqlite client on your phone. There's a few on the Google Play Store.
20th Oct 2019, 6:17 AM
Chris Hansen
0
Very useful, thank you very much, Jan Markus 👍🙂
10th Jul 2020, 5:00 PM
ArcturuS
ArcturuS - avatar