Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb8cd78

Browse files
committed
minor fix
1 parent 88fd129 commit bb8cd78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/dbms/mysql/connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def connect(self):
3434

3535
try:
3636
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:
37+
except (pymysql.OperationalError, pymysql.InternalError), msg:
3838
raise sqlmapConnectionException, msg[1]
3939

4040
self.setCursor()

0 commit comments

Comments
 (0)