I have migrated my data (mySQL) to a new server. On the same server I run the application. To change the data connection I have pointed it to the new server and tested the connection. It works. When I run it locally the application works as expected finding the data that is needed.
Howver when I publish the data it does not work and does not find the data. After much troubleshooting I have discovered that the published connection string is pointing to the old data on a different server.
I am confused that it is does not change when it is changed in the app and works locally. I have deleted all the on the published site and reloaded them with the updated local files several times. For reasons I do not know the published connection is the old one and not the new one.
The ability to connect to my data is a critical requirement of the application, users are not able to login to use it.
Can someone tell me what I need to change or fix getting the new connection strings to pass/update to then app when published.
Below are images the first shows the setting in the IDE, the second from debug in the published app