I think the main problem is thehost='127.0.0.1'. That's specific to using an SSH tunnel; if you're connecting without one, rather than127.0.0.1, you should use the database hostname from the "MySQL" tab on the "Databases" page -- it will start with your username. ...