-
-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL Support #2837
MySQL Support #2837
Conversation
I'm working on it, and from what I've seen, adding mysql support seems to be pretty straightforward. But I haven't tested it yet and I'm not sure if it will work, so it's still in draft stage. Can someone tell me how to compile and test on the server side? |
Thanks for the submission @ismail0234. Can you enable github action tests for MySQL as well? See the current ones here:
|
@bcmmbaga can you share how to add a testcontainer for MySQL? |
@ismail0234 To add a MySQL test container, you will need to add MySQL support in the netbird/management/server/store.go Line 253 in a9d06b8
To spin up a new MySQL test container, you can follow the same approach we used for PostgreSQL
|
The “security/snyk” step seems to have failed but I can't see what caused it. |
Go modules seem out of sync with the codebase. Could you run |
hmm, the result still seems to be the same. |
Is this part used for testing? Do I need to add mysql values?
netbird/.github/workflows/test-infrastructure-files.yml Lines 40 to 44 in a9d06b8
|
@mlsmaycon @bcmmbaga @pascal-fischer Can you check the Pull Request to merge? |
If you want to merge PR, I reopened it. But if you don't want to merge, you can close or delete PR. @mlsmaycon |
@ismail0234, could you please run the following commands and push the changes? go get -u github.com/containerd/containerd && go mod tidy |
The vulnerability appears to be in the go-jose module. The vulnerability has been fixed on version v4.0.1. Even if containerd is updated, the issue still seems to persist. |
You can revert the changes since they broke the gRPC. However, the Snyk issue seems to be a false positive, as we don't import the go-jose module at all. You can confirm with: go mod why -m github.com/go-jose/go-jose I'll take a closer look into this as well |
@bcmmbaga yes, it says the module is not in use. |
|
215c904
into
netbirdio:feature/mysql-support
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
Checklist