- If Python3-pip is not installed on your computer, it is available on the Mint repository under "software manager".
- Start with this webpage: How to connect Python programs to MariaDB. At this time ignore: "pip3 install mariadb".
- Go to this webpage: MariaDB Connector/Python 1.0.6 Release Note. Unfortunately it refers you to a Cent0s6 download. Keep going to List All Files . Select "connector-c-3.1.13/mariadb-connector-c-3.1.13-ubuntu-focal-amd64.tar.gz" for download.
- After downloading go to this webpage: MariaDB Connector/C. Go to the heading "Install via APT (Debian/Ubuntu)". Issue the command: "sudo apt install libmariadb3 libmariadb-dev". This is where the connector is loaded onto your computer for installation in the following steps.
- In "/etc/mysql", create a directory: "mariadb-connector-python". Place the tarball: "connector-c-3.1.13/mariadb-connector-c-3.1.13-ubuntu-focal-amd64.tar.gz" in that directory. CD to that directory and unpack the tarball. Important: also see MariaDB Connector/Python. Read the tab: "Installing from Source" items 1-4. The list of items is helpful, but they had to be tweaked to work.
- After unpacking, you can issue the command "pip3 install mariadb" to complete installation of the Python to MariaDB connector.