mysql fix mysql_native_password matter

This commit is contained in:
Moctar
2021-10-12 11:51:19 +02:00
parent 52aa4fa706
commit aa30995ffe

View File

@@ -77,7 +77,7 @@ jobs:
- node_modules
- ~/.composer
# This is based on your 1.0 configuration file or project settings
- run: sudo mysql -u root -e "CREATE USER 'phraseanet'@'localhost' IDENTIFIED BY 'phraseanet';GRANT ALL PRIVILEGES ON * . * TO 'phraseanet'@'localhost';CREATE DATABASE update39_test;CREATE DATABASE ab_test;CREATE DATABASE db_test;SET @@global.sql_mode=STRICT_ALL_TABLES;SET @@global.max_allowed_packet=33554432;SET @@global.wait_timeout=999999;"
- run: sudo mysql -u root -e "CREATE USER 'phraseanet'@'localhost' IDENTIFIED WITH mysql_native_password BY 'phraseanet';GRANT ALL PRIVILEGES ON * . * TO 'phraseanet'@'localhost';CREATE DATABASE update39_test;CREATE DATABASE ab_test;CREATE DATABASE db_test;SET @@global.sql_mode=STRICT_ALL_TABLES;SET @@global.max_allowed_packet=33554432;SET @@global.wait_timeout=999999;"
# This is based on your 1.0 configuration file or project settings
- run: ./bin/developer system:uninstall -v
- run: ./bin/setup system:install -v --email=test@phraseanet.com --password=test --db-host=localhost --db-user=phraseanet --db-template=fr-simple --db-password=phraseanet --databox=db_test --appbox=ab_test --server-name=http://127.0.0.1 -y;