mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-17 15:56:39 +00:00
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:
@@ -47,6 +47,8 @@ jobs:
|
||||
--health-timeout 5s
|
||||
ports:
|
||||
- 3306:3306
|
||||
volumes:
|
||||
- ./mysql-init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
steps:
|
||||
- name: Set Database Connection String
|
||||
run: |
|
||||
|
||||
2
infrastructure_files/mysql-init.sql
Normal file
2
infrastructure_files/mysql-init.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
GRANT SYSTEM_VARIABLES_ADMIN ON *.* TO 'netbird'@'%';
|
||||
FLUSH PRIVILEGES;
|
||||
Reference in New Issue
Block a user