Works for me with:
It confuses me how TLS is getting into all this...
mysql-connector-python==8.0.27And mariadb version 10.3.31
mysql Ver 15.1 Distrib 10.3.31-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2Not sure this is relevant but all this in on Ubuntu 20.04.3 LTS.
It confuses me how TLS is getting into all this...