Github Actions: use MD5 pass encryption to support PostgreSQL 14 (#3691)

This commit is contained in:
Badlop 2021-10-07 16:23:11 +02:00
parent 1377dcf6d2
commit 964cb3aaca
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ jobs:
- name: Prepare databases
run: |
sudo sed -i 's|#password_encryption.*|password_encryption = md5|g' /etc/postgresql/14/main/postgresql.conf
sudo sed -i 's|scram-sha-256|md5|g' /etc/postgresql/14/main/pg_hba.conf
sudo systemctl start mysql.service
sudo systemctl start postgresql.service
mysql -u root -proot -e "CREATE USER 'ejabberd_test'@'localhost'