+ 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.
6 Respuestas
+ 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
+ 2
Jan Markus how do I use SQLite database and pydroid 3 together
+ 1
Jan Markus and Chris Hansen both of thank you very much 😊
0
you can search mysql server or mariadb server in playstore
0
You may need to install a sqlite client on your phone. There's a few on the Google Play Store.
0
Very useful, thank you very much, Jan Markus 👍🙂