It's not a big problem to install or use. Google for "python 3 and mariadb". The first listing should teach you the basics you need to get things installed and connected.
Retired IT professional, C programmer and "beardie weirdie".
RPi interests: Developing an Infinite Improbability Drive
“Thinking outside of the box allows you to get rewards outside of your reach.” Matshona Dhliwayo