Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solved node 42087 MySQL password hashes fail #6

Merged
merged 1 commit into from Jun 11, 2017

Conversation

Malkaduhimi
Copy link
Contributor

The error which is solved is the following:
Failed to migrate virtual server : SQL set password for 'dbuser'@'localhost' = '*B1DFB503E89D3BEDEAB2386570D000510B9E3162&references_priv' failed : Password hash should be a 41-digit hexadecimal number

The reason was, is that the algorithm was selecting everything after password= untill it found another '=', I have changed the regular expression to stop when finding a '&'

@jcameron jcameron merged commit 978953f into virtualmin:master Jun 11, 2017
@jcameron
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants