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

change deprecated parameter pw and db - 2nd try #176

Closed
ziegenberg opened this issue Jun 1, 2021 · 0 comments · Fixed by #177
Closed

change deprecated parameter pw and db - 2nd try #176

ziegenberg opened this issue Jun 1, 2021 · 0 comments · Fixed by #177

Comments

@ziegenberg
Copy link
Contributor

ziegenberg commented Jun 1, 2021

SUMMARY

Parameters db and passwd are deprecated, using database and password is recommended by the DB-API 2.0.

This MySQL collections support two connectors:

In PyMySQL the change from the short parameter to the new long-form was made with v0.6.7 (and the short forms are kept as an alias for database and password). Warnings will be activated around 2022 (for details, see PyMySQL/PyMySQL#939).

In MySQLdb the change was introduced with v1.3.8 (and the short forms are kept as an alias for database and password).

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

module_utils

ADDITIONAL INFORMATION

This ought to be a more sensible way than #116.

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