I created a PWA with ionic/angular. An API in PHP to set/retrieve the data.
In my localhost: everything works fine.
I move the API to the server: With Postman, all the calls works fine
Now I change the URL in Ionic from the localhost to the internet server: Doesn’t work
Error message: “SQLSTATE[HY000]  Access denied for user ‘userXX’@‘xxx.xx.xxx.249’ (using password: YES)”
I checked the MySQL permissions in the server, no problem.
Why with Postman it work, in the same server address, but not in Ionic?
Thanks in advance