Added connector error 138 - initial packet handshake on Windows
This commit is contained in:
@@ -25,7 +25,9 @@ class DbManager():
|
||||
print(f"DbManager Connection (INTERFACE ERROR): {e}..reconnecting...")
|
||||
except mariadb.Error as e:
|
||||
if '(110)' in str(e):
|
||||
print(f"File: {__file__}\n Database connection timed out (Check connection parameters or server): {e}")
|
||||
print(f"File: {__file__}\n Database connection timed out (Check connection parameters or server running): {e}")
|
||||
elif '(138)' in str(e):
|
||||
print(f"File: {__file__}\n Database connection timed out (Check connection parameters or server running - initial handshake): {e}")
|
||||
else:
|
||||
print(f"File: {__file__}\n Database connection error: {e}")
|
||||
cls.__connection = None
|
||||
|
||||
Reference in New Issue
Block a user