Private SQL of webhost

Is it possible to connect via MySQL from a GAME server to a private (not shared) SQL of a webhost?
That is what I am trying and I cannot achieve it.

thanks

I think it's not, I've tried that for my https://planetofhotels.com/fr https://planetofhotels.com/fr websiite and I couldn't do it.