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

[BUG] Creating root user with mysql_user module #88

Closed
santi-eidu opened this issue Nov 14, 2022 · 1 comment
Closed

[BUG] Creating root user with mysql_user module #88

santi-eidu opened this issue Nov 14, 2022 · 1 comment

Comments

@santi-eidu
Copy link
Contributor

Description

According to module documentation, we need to set root password via password-less setup with socket.

Steps to Reproduce

Ansible 2.9
Run molecule test.

Expected behavior:
No error, test finish successfully

Actual behavior:
Error:

Unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (1698, u\"Access denied for user 'root'@'localhost'\")"}

Reproduces how often:
[What percentage of the time does it reproduce?]

Environment

  • The release version/s you are using: 4.5
  • OS: Debian
  • Ansible Version: 2.9
  • Python Version: 2.7
@santi-eidu santi-eidu added the bug label Nov 14, 2022
santi-eidu pushed a commit that referenced this issue Nov 14, 2022
santi-eidu added a commit that referenced this issue Nov 15, 2022
#88 fix password-less root user creation.
@stale
Copy link

stale bot commented Feb 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant