PySocks icon indicating copy to clipboard operation
PySocks copied to clipboard

PySocks also forwarded my local connection?

Open Sexisnull opened this issue 7 years ago • 3 comments

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!

Sexisnull avatar May 14 '18 09:05 Sexisnull

I have found this issue also. How can I exclude localhost for this proxy?

CraKeyBoy avatar May 05 '19 08:05 CraKeyBoy

Don‘t use pymysql modules, use mysqldb modules.

Sexisnull avatar Aug 14 '19 06:08 Sexisnull