This project provides a simple, step-by-step tutorial for connecting Python applications to a MySQL database. It covers fundamental operations such as establishing a connection, creating a database, ...
This a sample project written by PingCAP for MySQL Connector/Python to connect to TiDB. TiDB is a MySQL-compatible database. And MySQL Connector/Python is an official MySQL driver written in Python.