[server] Add MySQL initialization script and update Docker configuration (#4345)

This commit is contained in:
Zoltan Papp
2025-08-14 17:53:59 +02:00
committed by GitHub
parent e97f853909
commit ab853ac2a5

View File

@@ -83,6 +83,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup MySQL privileges
if: matrix.store == 'mysql'
run: |
sleep 10
mysql -h 127.0.0.1 -u root -pmysqlroot -e "
GRANT SYSTEM_VARIABLES_ADMIN ON *.* TO 'netbird'@'%';
FLUSH PRIVILEGES;
"
- name: cp setup.env
run: cp infrastructure_files/tests/setup.env infrastructure_files/