This example uses the pymysql library to connect to MySQL and perform a simple query.
pip install pymysql
Note: You can retrieve the Service configuration details from the Aiven Console overview tab.
./main.py --host <host> --port <port> --password <password>