I made a small reproducible repository at GitHub - Ravencentric/mariadbtest
You can see the successful workflow at Update mariadbtest.py · Ravencentric/mariadbtest@aea9d6f · GitHub
It’s pretty simple, the action sets up mariadb and the python script just connects to it. This however fails on the private gitea instance I’m working with. I cannot figure out why. The python script throws this error in Gitea Actions:
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([Errno 111] Connection refused)")