Add MySQL initialization script and update Docker configuration

Original error was:
Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation
This commit is contained in:
Zoltán Papp
2025-08-14 16:21:38 +02:00
parent 7247782dd7
commit 29d6630686
2 changed files with 4 additions and 0 deletions
@@ -47,6 +47,8 @@ jobs:
--health-timeout 5s --health-timeout 5s
ports: ports:
- 3306:3306 - 3306:3306
volumes:
- ./mysql-init.sql:/docker-entrypoint-initdb.d/init.sql
steps: steps:
- name: Set Database Connection String - name: Set Database Connection String
run: | run: |
+2
View File
@@ -0,0 +1,2 @@
GRANT SYSTEM_VARIABLES_ADMIN ON *.* TO 'netbird'@'%';
FLUSH PRIVILEGES;