I had the same issue and as I had recently an issue with a password somewhere else I googled if there are any restrictions regarding mysql passwords. On the bottom of this page are the characters which are currently not allowed: https://docs.oracle.com/cd/F96127_01/docs.90/SDS%20Software%20Upgrade%20Guide/sanity-check-passwords-mysql-user-accounts.html
It solved it for me.