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

"Get list of hosts for the root user" failed #23

Open
ValentinKruegl opened this issue Feb 28, 2023 · 0 comments
Open

"Get list of hosts for the root user" failed #23

ValentinKruegl opened this issue Feb 28, 2023 · 0 comments

Comments

@ValentinKruegl
Copy link

we are using ubuntu-minimal on:
ubuntu 22.04
php reverted to 7.4.
mariadb 10.6.12

TASK [mariadb : Get list of hosts for the root user]

fatal: [db1]: FAILED! => {"changed": false, "cmd": ["/usr/bin/mysql", "-NBe", "SELECT Host FROM mysql.user WHERE User = 'root' ORDER BY (Host='localhost') ASC"], "delta": "0:00:00.012417", "end": "2023-02-28 15:25:21.588737", "msg": "non-zero return code", "rc": 1, "start": "2023-02-28 15:25:21.576320", "stderr": "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)", "stderr_lines": ["ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"], "stdout": "", "stdout_lines": []}

We worked around it by setting the root password for mariadb to empty.

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