r/SQL • u/Fuzzy_Macaroon9553 • Dec 16 '25
MySQL gMSA - Yes or No & Why?
I want to use a gMSA in Windows Server 2025 for hardening but not sure if it’s potentially unnecessary with all the tools we have laying in the application layer. I’ve done a fair amount of research and understand the cybersecurity intent behind gMSAs, but I want to make sure I’m not overcomplicating the design.
Our organization already has EDR, a managed SOC/SIEM, and multiple layers of defense-in-depth in place. Given that context, I’m curious whether adopting a gMSA for SQL services is considered best practice or if there are scenarios where it adds more complexity than value?
3
u/dbrownems Dec 16 '25 edited Dec 16 '25
If you need to use a domain account for the service account, definitely go with gMSA.
But if you have only one SQL Server instance per server, and your servers are dedicated to running SQL Server, there may be no need for a domain service account. Just use the default virtual service account, and grant any needed network permissions to the computer account.
8
u/m0tionl0tion Dec 16 '25
Yes. The level of effort is trivial and the behaviors it prevents (lax password rotation and complexity policies, people interactively using service accounts [breaking non-repudiation offered by your fancy SIEM tool, among other things]) are a meaningful part of a robust security design.
5
u/dotnetmonke Dec 16 '25
It's a great way to do things. We have a gMSA for each server/instance, then we have another gMSA that we use for DBA Dash on every instance that has access to monitoring tools. We also run IIS app pools and scheduled tasks under gMSAs with no issues. They're quite painless to use once you get the hang of them.
2
u/PotatoHasAGun Dec 17 '25
Yes. This is a huge win for security, highly recommend.
Only real issue I’ve run into is that a gMSA cannot be used as a proxy for users that don’t have sysadmin.