Reset tutor config passwords, IDs and secrets

Are there any simple methods to completely regenerate config.yml and get NEW tutor MySQL passwords / Auth ID / Open edX secret… etc? (without reinstalling tutor)

Thanks.

Sure. Just delete the config.yml file and regenerate it:

$ rm "$(tutor config printroot)/config.yml"
$ tutor config save

Note however that if you launched a platform before, the MySQL, MongoDB, Elasticsearch, etc. databases will no longer work.

1 Like

Thank you for your answer @regis

How can I make them work again?

So what you actually want to do is to change the passwords of these databases? This is a complex process which very much depends on which services you are running. I suggest you do not go down that path.