fixed mysql-connector-python version. fixed mariadb conection user and pwd

mejoras_instalacion
elena 2022-08-30 16:58:30 +02:00
parent 52f99c38bb
commit 993b5f0e24
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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:

View File

@ -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: