Does re-deploying MySQL service re-generate variables?
I'm getting errors on my app after re-deploy of the MySQL.
It would seem like passwords are updated?
I couldnt pin point the error yet so wanted to ask to further investigate:
- what happens on MySQL redeploy? Do passwords get re-generated?
Solution:Jump to solution
the password for mysql (and any other database offerings) does change when syncing an environment to an environment that already has the database deployed, this is correct and intended behavior. As long as you are using reference variables this works perfectly.
i was able to confirm that re-deploying the service in place does not regenerate any variables, this is also correct behavior.
everything seems to be in order from my testing, let me know if you want me to test any specific flow...
5 Replies
Project ID:
N/A
N/A
this is a continuation of https://discord.com/channels/713503345364697088/1201956187122171905
i thout i had resolved it but re-deploying broke apps again
will try to reproduce, but as far as I know the password should only change when it's deployed into a new environment
been experimenting a bit. in fact they do not change.
Solution
the password for mysql (and any other database offerings) does change when syncing an environment to an environment that already has the database deployed, this is correct and intended behavior. As long as you are using reference variables this works perfectly.
i was able to confirm that re-deploying the service in place does not regenerate any variables, this is also correct behavior.
everything seems to be in order from my testing, let me know if you want me to test any specific flow