-
Notifications
You must be signed in to change notification settings - Fork 75
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 - Access denied for user root #642
Comments
the mysql root password created during installation can be found in /root/.my.cnf i think that you need: |
I didn't changed the password, but the mentioned error started to present in the log files. |
you can comment out all crons to get your job done not sure if this is the right way to solve this though |
This could be a result of broken or incomplete or canceled upgrade procedure, so current mysql root password does not match Please back up both files and then sync them, so If this still doesn't work, check previous copies with names .my.pass.txt-pre-BOA* and .my.cnf-pre-BOA* and try to use them instead. |
Hi. I have the same issue here. PS: This happens when trying to update BOA (on step octopus up-stable all both) |
OK, so it definitely sounds like a mysterious bug we need to find and fix. I can only guess that it is related to something changed in recent MariaDB versions, because it never happened before, but now we have experienced this on two our own instances. The problem is that it is still very rare, but once the system is affected, it happens on every subsequent upgrade on that system. |
It is a release blocker, unfortunately, so let's hope we can identify and fix it quickly. |
OK, so we couldn't determine the source of the problem and reproduce it reliably after all, so let's just switch the default to not change mysql root password on every barracuda upgrade instead. It will be a temporary workaround until we will be able to track and fix the real problem. |
So, just in case this happened to anyone else, here is a quick manual recovery how-to:
|
Workaround will be included in 2.4.4 and we will continue debugging. |
Hi. The manual recovery how-to works pretty well. |
SQL root password is no longer updated on every upgrade and we can't even reproduce the original issue, but there is some nice how-to here we could add to BOA docs. |
Hello,
I'm getting many MySql access denied errors in syslog.
"mysqld: 150303 16:23:21 [Warning] Access denied for user 'root'@'localhost' (using password: YES)"
I have checked and the root password indeed not working.
I will try to change MySQL root password, but the MySQL process is restarted very fast if I stop the service.
What is the best way to stop the mysql health check and change the MySQL password?
For changing the password I have found this guide:
https://help.ubuntu.com/community/MysqlPasswordReset
Thanks.
The text was updated successfully, but these errors were encountered: