[PR #2837] [MERGED] MySQL Support #15691

Closed
opened 2026-08-05 03:08:13 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2837
Author: @ismail0234
Created: 11/4/2024
Status: Merged
Merged: 12/23/2024
Merged by: @bcmmbaga

Base: feature/mysql-supportHead: main


📝 Commits (10+)

📊 Changes

16 files changed (+366 additions, -90 deletions)

View changed files

📝 .github/workflows/golang-test-linux.yml (+1 -1)
📝 .github/workflows/test-infrastructure-files.yml (+22 -1)
📝 go.mod (+11 -7)
📝 go.sum (+26 -16)
📝 infrastructure_files/configure.sh (+12 -0)
📝 infrastructure_files/docker-compose.yml.tmpl (+1 -0)
📝 infrastructure_files/docker-compose.yml.tmpl.traefik (+1 -0)
📝 management/server/account.go (+0 -1)
📝 management/server/event.go (+22 -16)
📝 management/server/management_proto_test.go (+8 -2)
📝 management/server/migration/migration.go (+20 -7)
📝 management/server/sql_store.go (+79 -12)
📝 management/server/store.go (+39 -7)
management/server/testdata/mysql.cnf (+41 -0)
📝 management/server/testutil/store.go (+72 -19)
📝 management/server/testutil/store_ios.go (+11 -1)

📄 Description

Describe your changes

MySQL support for Netbird. Still in draft stage. I have never used the “GO” language before, so if I have any mistakes you can help me to correct them.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/2837 **Author:** [@ismail0234](https://github.com/ismail0234) **Created:** 11/4/2024 **Status:** ✅ Merged **Merged:** 12/23/2024 **Merged by:** [@bcmmbaga](https://github.com/bcmmbaga) **Base:** `feature/mysql-support` ← **Head:** `main` --- ### 📝 Commits (10+) - [`eb5e9ca`](https://github.com/netbirdio/netbird/commit/eb5e9ca153ba5ce3c7229c81b695b04fe33102bb) Update store.go - [`130a36f`](https://github.com/netbirdio/netbird/commit/130a36f703999a017f3912d6d80a44775fdaea37) Update sql_store.go - [`d6c1278`](https://github.com/netbirdio/netbird/commit/d6c1278368af1d31686b6436b4e1d948f91a3129) Merge pull request #1 from ismail0234/patch-1 - [`8152727`](https://github.com/netbirdio/netbird/commit/81527274e23421235d6339af147d02fbc3aaac11) Update store.go - [`1de1401`](https://github.com/netbirdio/netbird/commit/1de14010c8c0362bdc2902fba90dcaec50109f45) Update golang-test-linux.yml - [`9b090ba`](https://github.com/netbirdio/netbird/commit/9b090ba8a9463d1aa15fe2b1f546fc9c64f949b1) Update store.go - [`2137e71`](https://github.com/netbirdio/netbird/commit/2137e71c7de07803623233634042ed7368fd6f85) Update go.mod - [`25ea443`](https://github.com/netbirdio/netbird/commit/25ea44344da0782c734ead61db66f4597faec651) Update go.mod - [`ee49368`](https://github.com/netbirdio/netbird/commit/ee49368f98cb7c6e5e09e2f07a52b98e5f3192ba) Update go.sum - [`0c1cac3`](https://github.com/netbirdio/netbird/commit/0c1cac3d89253cac3061090496da83b1d3c3d9fa) Update store.go ### 📊 Changes **16 files changed** (+366 additions, -90 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/golang-test-linux.yml` (+1 -1) 📝 `.github/workflows/test-infrastructure-files.yml` (+22 -1) 📝 `go.mod` (+11 -7) 📝 `go.sum` (+26 -16) 📝 `infrastructure_files/configure.sh` (+12 -0) 📝 `infrastructure_files/docker-compose.yml.tmpl` (+1 -0) 📝 `infrastructure_files/docker-compose.yml.tmpl.traefik` (+1 -0) 📝 `management/server/account.go` (+0 -1) 📝 `management/server/event.go` (+22 -16) 📝 `management/server/management_proto_test.go` (+8 -2) 📝 `management/server/migration/migration.go` (+20 -7) 📝 `management/server/sql_store.go` (+79 -12) 📝 `management/server/store.go` (+39 -7) ➕ `management/server/testdata/mysql.cnf` (+41 -0) 📝 `management/server/testutil/store.go` (+72 -19) 📝 `management/server/testutil/store_ios.go` (+11 -1) </details> ### 📄 Description ## Describe your changes MySQL support for Netbird. Still in draft stage. I have never used the “GO” language before, so if I have any mistakes you can help me to correct them. ## Issue ticket number and link - https://github.com/netbirdio/netbird/issues/2655 ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:08:13 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#15691