mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
minor fix
This commit is contained in:
parent
88fd1299dc
commit
bb8cd788e1
|
@ -34,7 +34,7 @@ class Connector(GenericConnector):
|
|||
|
||||
try:
|
||||
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)
|
||||
except pymysql.OperationalError, msg:
|
||||
except (pymysql.OperationalError, pymysql.InternalError), msg:
|
||||
raise sqlmapConnectionException, msg[1]
|
||||
|
||||
self.setCursor()
|
||||
|
|
Loading…
Reference in New Issue
Block a user