passbolt_api icon indicating copy to clipboard operation
passbolt_api copied to clipboard

mysql user password with character '$' is not accepted (error: 1045)

Open acortina-git opened this issue 9 years ago • 2 comments

I tried with mariadb 5.5 and mysql-community 5.7 with same result.

This is the error:

mysqldump: Got error: 1045: Access denied for user 'pbuser'@'localhost' (using password: YES) when trying to connect
 Error: Something went wrong!
---------------------------------------------------------------

 Passbolt installation success! Enjoy! ☮

Then I changed the $ character for another one and mysqldump created the file correctly. I have found the solution here: http://stackoverflow.com/a/30098491/2025004

acortina-git avatar Mar 08 '17 01:03 acortina-git

Hi @alejojo Could this be due to the fact that you used the character $ between double quotes (like "pas$word") ? If it's the case, as for the example in brackets, then whatever string comes after $ will be interpreted as a variable and would cause the bug that you are describing. Let me know if it was the case.

kevinmuller avatar Mar 10 '17 11:03 kevinmuller

Hi @kevinmuller,

yes, that was the case. Cheers,

acortina-git avatar Mar 16 '17 03:03 acortina-git