PySocks also forwarded my local connection?
I need help. In the course of my use, I found a problem.In a process,I used the PySocks to set up the default proxy.When I use pymysql to connect to the database, I find that the connection is not up. This is the wrong message: pymysql.err.OperationalError: (1045, u"Access denied for user 'root'@'localhost' (using password: YES)") After the investigation, it was found that it was because PySocks also forwarded my local connection. How should I control the local connection? I hope to help me answer it.Thanks!
I have found this issue also. How can I exclude localhost for this proxy?
Don‘t use pymysql modules, use mysqldb modules.