Failure to connect

I am just starting with PhpMaker 2020 and I setup a connection to my hosting service MySQL database. The system connected right away and read all my tables and views using the credentials I provided. I generated scripts simply using the default settings. I then copied the resulting files via ftp. I can open the site and all the tables appear in the menu, but when I try to open any page I get a message saying there was a failure to connect. I checked the ewcfg.php file and located the values being used to connect. The appeared to be correct (however the password did have a “/“ in front of the actual password) I removed the slash, but continue to get the error. I didn’t find any reference to this when I searched the forums. I would appreciate any suggestions. Thanks

The error:Failed to connect to edwardm3_generation at 192.185.128.19. Error: Access denied for user ‘edwardm3_gen’@‘192.185.128.19’ (using password: YES) (1045)

I am finding the code works correctly on my localhost, but I cannot use the same code on my hosted server. Is there something I am missing? Do In need to deploy to my server from PHPMaker?

I was able to determine that I had to use localhost in ewcfg.php and remove the slash which was entered in front of the password. It now works