Hi everyone, I am deploying a fresh instance of da...
# all-things-deployment
b
Hi everyone, I am deploying a fresh instance of datahub on kubernetes and got it to spin up just fine using the example secrets from the helm chart docs, i.e.
Copy code
kubectl create secret generic mysql-secrets --from-literal=mysql-root-password=datahub
However, I decided I wanted a more secure password for mysql so I uninstalled datahub & the prerequisites, recreated mysql-secrets with my new password, and even deleted the PVC for good measure (don't worry, there wasn't any data in it 😉). However, when I try to reinstall datahub-prerequisites, the mysql pod throws an error saying
'Access denied for user 'root'@'localhost' (using password: YES)'
. I've tried changing the password in case there was some character mysql didn't like, as well as deleting the PVCs for the other prereq items but no luck. However, when I change the password back to datahub like in the example it works fine again. What is the process supposed to be for changing the mysql password? Is there something else that needs to be updated that I'm missing? Any help would be appreciated. Thanks!
e
Sorry about the late reply. We are using the oss mysql helm chart to deploy prerequisite mysql. Can you check out their page to see how to reset the password?
Seems like it may be creating some other resource that is persisted
b
Yes, I'll check with them for some more info. Thanks for the reply!
t
I am having similar problems when we updated our environment. Do you have any solutions how to fix it?
b
Hey Lauri, unfortunately I do not. I had to move on to some other tasks and haven't come back around to this yet. If you find something, let me know