prepering for a new build as i fix the mysql connector error
This commit is contained in:
@@ -60,7 +60,8 @@ class DatabaseManager:
|
||||
database=self.database,
|
||||
user=self.user,
|
||||
password=self.password,
|
||||
connection_timeout=5
|
||||
connection_timeout=5,
|
||||
use_pure=True
|
||||
)
|
||||
if test_conn.is_connected():
|
||||
test_conn.close()
|
||||
@@ -78,7 +79,8 @@ class DatabaseManager:
|
||||
database=self.database,
|
||||
user=self.user,
|
||||
password=self.password,
|
||||
connection_timeout=5
|
||||
connection_timeout=5,
|
||||
use_pure=True
|
||||
)
|
||||
return self.connection
|
||||
except Error as e:
|
||||
|
||||
Reference in New Issue
Block a user