Skip to content
Discussion options

You must be logged in to vote

aiomysql works on Flet mobile — no special build or recipe needed. It's pure-Python (built on PyMySQL), so flet build bundles it straight from PyPI.

I verified it on-device on both an Android arm64 emulator and an iOS simulator: import works and a full CREATE / INSERT / SELECT round-trip against a MariaDB 11.8 server succeeds on both.

Two things worth knowing:

1. It's a network client. It connects to a remote MySQL/MariaDB server — there's no embedded database on the phone. With mysql_native_password / MariaDB, no extra dependency is needed. For MySQL 8's default caching_sha2_password over a non-TLS connection you'll also need cryptography (which Flet already supports) or just connect ove…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants