Code in PAWS that tries to connect to ToolsDB doesn't seem to be working properly; I'm getting OperationalError: (1045, "Access denied for user 'p46222050'@'172.16.19.12' (using password: YES)") when essentially the same code running in a Toolforge shell works:
Code that establishes the connection:
conn = pymysql.connect(
host="tools.db.svc.wikimedia.cloud",
read_default_file="~/.my.cnf",
database="s54328__goodarticles_p"
)