Different kind of beast. In my opinion Datagrip is meant for heavy DB work with jetbrains ecosystem surrounding you as well.

Heidi is perfect for the kind of person who connects to a DB once in awhile to just get some crap done.

I used to use HeidiSQL a lot, then we moved to Azure SQL with entra mfa which Heidi doesn’t current support. I would switch back instantly if that support ever came out.