Hi James, You can refer to mysql tutorials on how to change the password of a mysql user. When it is done and verified, you need to regenerate the db.properties (backup it !) by command
cloudstack-setup-databases cloud:cloud@localhost -i 10.25.x.x Do NOT pass 'deploy-as' parameter ! If it does not work, please change back the password. I have not tested it yet. -Wei On Wed, 17 Nov 2021 at 15:43, James Steele <jsteele.em...@gmail.com> wrote: > Hello all, after having setup cloudstack following Rohits fab guide here: > https://rohityadav.cloud/blog/cloudstack-kvm/ > I realise I may have followed the guide a little too closely. > > When setting up cloudstack management I entered: > cloudstack-setup-databases cloud:cloud@localhost > --deploy-as=root:RootPassword -i 10.25.x.x > > Unfortunately now anyone can type: mysql -u cloud -h 10.25.x.x -p > and when they type cloud for the password, they have mysql access! > > So how do I change the existing mysql password which is 'cloud' to a more > secure password, > whilst at the same time not losing access to the management server and all > the existing configs for zone, hosts and instances etc? > Obviously I don't want to start again, but just secure what we have already > set up. > > Thanks, Jim >