Forums

MySQL Operational Error (1045, "Access denied for user...

This is the error I am getting.. Tried my level best by reading other posts on this topic but didn't get through. Have project submission tomorrow..Please help me out !

Traceback (most recent call last): File "/home/Vasundhara/sample.py", line 2, in <module> conn=MySQLdb.connect("Vasundhara.mysql.pythonanywhere-services.com","Vasundhara","cookies","Vasundhara$Animals") File "/usr/local/lib/python3.6/dist-packages/MySQLdb/init.py", line 86, in Connect return Connection(args, kwargs) File "/usr/local/lib/python3.6/dist-packages/MySQLdb/connections.py", line 204, in init super(Connection, self).init(args, **kwargs2) _mysql_exceptions.OperationalError: (1045, "Access denied for user 'Vasundhara'@'10.0.0.55' (using password: YES)")

can you outline the steps you have taken to debug this problem?

I have a same problem, any solution?

Make sure you're using the correct mysql host address and the correct username and password.