TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Change password used to connect to MYSQL

Open Tacioandrade opened this issue 2 years ago • 2 comments

Hello friends, I have a problem here! I'm migrating my Teampass from one server to another and I'm having a problem with the password I put for the mysql user teampass.

In this case I ended up not saving the teampass user password in mysql, since all access I use to manage the database I do with root and now when it comes to migrating from the server, I'm facing a problem, because in the file "includes/config/settings.php" the password is in hash and not the password in plain text like in other solutions like Wordpress for example.

In this case, I would like to know the hash used for this password so that I can create the user in mysql with another password and change this password in the configuration file.

Thank you in advance for your help.

PS: I need to make the change by tomorrow, as that's when the hosting I use Teampass expires.

Tacioandrade avatar Jul 18 '22 19:07 Tacioandrade

Hello You can changed the hashed password to a clear one.

nilsteampassnet avatar Jul 19 '22 06:07 nilsteampassnet

Thank you so much now in desperation I ended up doing it there! But I hope to hash it again later for safety! I'll see if I do another installation from scratch and copy the hash just so I don't have the password in plain text.

Tacioandrade avatar Jul 19 '22 15:07 Tacioandrade