I had the same problem. I contacted support, and my webhost said that it was necessary to use the host’s server name. I use IX hosting, and had to use mysql26.ixwebhosting.com instead of localhost. Worked right away with that modification. Hope that helps.
I have twenty bucks that says your username or database name is incorrect ??
I’ll take that bet ??