Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88fd129 commit bb8cd78Copy full SHA for bb8cd78
1 file changed
plugins/dbms/mysql/connector.py
@@ -34,7 +34,7 @@ def connect(self):
34
35
try:
36
self.connector = pymysql.connect(host=self.hostname, user=self.user, passwd=self.password, db=self.db, port=self.port, connect_timeout=conf.timeout, use_unicode=True)
37
- except pymysql.OperationalError, msg:
+ except (pymysql.OperationalError, pymysql.InternalError), msg:
38
raise sqlmapConnectionException, msg[1]
39
40
self.setCursor()
0 commit comments