fixed mysql-connector-python version. fixed mariadb conection user and pwd
parent
52f99c38bb
commit
993b5f0e24
|
@ -26,7 +26,8 @@ Flask-SocketIO==5.2.0
|
|||
bcrypt==3.2.2
|
||||
# diceware can't be upgraded without issues
|
||||
diceware==0.9.6
|
||||
mysql-connector-python==8.0.30
|
||||
# to avoid this error:mysql.connector.errors.ProgrammingError: Character set 'utf8' unsupported
|
||||
mysql-connector-python==8.0.28
|
||||
psycopg2==2.9.3
|
||||
# python-keycloak can't be upgraded without issues
|
||||
python-keycloak==0.26.1
|
||||
|
|
|
@ -56,8 +56,8 @@ class WordpressSaml:
|
|||
self.db = Mysql(
|
||||
"dd-apps-mariadb",
|
||||
"wordpress",
|
||||
"root",
|
||||
os.environ["MARIADB_PASSWORD"],
|
||||
os.environ["WORDPRESS_MARIADB_USER"],
|
||||
os.environ["WORDPRESS_MARIADB_PASSWORD"],
|
||||
)
|
||||
ready = True
|
||||
except:
|
||||
|
|
|
@ -51,8 +51,8 @@ class WordpressSaml:
|
|||
self.db = Mysql(
|
||||
"dd-apps-mariadb",
|
||||
"wordpress",
|
||||
"root",
|
||||
os.environ["MARIADB_PASSWORD"],
|
||||
os.environ["WORDPRESS_MARIADB_USER"],
|
||||
os.environ["WORDPRESS_MARIADB_PASSWORD"],
|
||||
)
|
||||
ready = True
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue