Change db user password

solved

#1

Hello,
during installation with the mysql setup script I was asked to create a db user, default named ‘seafile’. Now I found out that the related password is stored readable in some config files and I would like to change this password. How can I achieve this? Can I run the setup script again? Or is it enough to change the password in mysql and then in the configuration files? But then what about the binary file conf/seahub_settings.pyc?
Thanks for any advice!
Gernot


#2

You may update the changed password in the corresponding config file.
The seahub_settings.pyc is ‘compiled’ using your configuration while starting Seahub


#3

Thanks, it worked! I changed in mysql the password, after that in all of the settings files that contained the old one, rebooted and everything is fine again.