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

Support of mysqlcline/MySQLdb connector is deprecated. #558

Open
tolecnal opened this issue Dec 16, 2024 · 0 comments · May be fixed by #559
Open

Support of mysqlcline/MySQLdb connector is deprecated. #558

tolecnal opened this issue Dec 16, 2024 · 0 comments · May be fixed by #559

Comments

@tolecnal
Copy link

tolecnal commented Dec 16, 2024

When running the test task Remove MySQL test database with molecule towards Debian and Ubuntu hosts, you receive the following warning:

TASK [geerlingguy.mysql : Remove MySQL test database.] *************************
[WARNING]: Support of mysqlcline/MySQLdb connector is deprecated. We'll stop
testing against it in collection version 4.0.0 and remove the related code in
5.0.0. Use PyMySQL connector instead.

The fix for this would be moving the Debian packages to python3-pymysql instead of python3-mysqldb.

I will create a merge request for this that should fix this.

tolecnal added a commit to tolecnal/ansible-role-mysql that referenced this issue Dec 16, 2024
This fixes the deprecation warning given when running the `Remove MySQL
test database` task.

Resolves geerlingguy#558
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

Successfully merging a pull request may close this issue.

1 participant