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:
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...
Jump to solution
5 Replies
Percy
Percy10mo ago
Project ID: N/A
dwaynemac
dwaynemacOP10mo ago
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
Brody
Brody10mo ago
will try to reproduce, but as far as I know the password should only change when it's deployed into a new environment
dwaynemac
dwaynemacOP10mo ago
been experimenting a bit. in fact they do not change.
Solution
Brody
Brody10mo ago
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
Want results from more Discord servers?
Add your server