Page MenuHomePhabricator

Can't connect to ToolsDB on PAWS
Closed, DuplicatePublic

Description

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"
)

Event Timeline

Judging from this line it looks like we are deliberately not allowing PAWS to connect to ToolsDB.

I'm not sure why that is the case, and I think we could probably add that functionality, but it will require some work.