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

mysql: unknown option '--connect-expired-password' #45

Open
stormliucong opened this issue Dec 14, 2022 · 1 comment
Open

mysql: unknown option '--connect-expired-password' #45

stormliucong opened this issue Dec 14, 2022 · 1 comment

Comments

@stormliucong
Copy link

When I try to install dependency sudo ./install-dependencies.sh...There is an error at line mysql -u root --connect-expired-password -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '`cat pass.tmp`';flush privileges;"

@stormliucong
Copy link
Author

I was able to manually change this by using SET PASSWORD FOR 'root'@'localhost' = PASSWORD('`cat pass.tmp`');flush privileges; to set the password. It looks like the MariaDB version installed (5.5.68-MariaDB) only supports the SET syntax.

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

No branches or pull requests

1 participant