summaryrefslogtreecommitdiff
path: root/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'sql.py')
-rw-r--r--sql.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql.py b/sql.py
index 21aa065..372c539 100644
--- a/sql.py
+++ b/sql.py
@@ -40,7 +40,8 @@ db = mysql.connector.connect(
host=SQLHOST,
user=SQLUSER,
passwd=SQLPASS,
- database=SQLDBID
+ database=SQLDBID,
+ auth_plugin='mysql_native_password'
)
####################################### Private methods