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

Fixed #35702 -- Removed connection pooling note for mysql drivers. #18512

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

Hisham-Pak
Copy link
Contributor

@Hisham-Pak Hisham-Pak commented Aug 23, 2024

Trac ticket number

ticket-35702

Branch description

This branch makes changes to docs to clarify mysqlclient does not have built-in connection pooling.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant docs, including release notes if applicable.

@Hisham-Pak Hisham-Pak changed the title Fixed #35702 -- Clarified mysqlclient does not provide connection poo… Fixed #35702 -- Clarified mysqlclient does not provide connection pooling. Aug 23, 2024
Comment on lines 482 to 484
These drivers are thread-safe and provide connection pooling.
The MySQL Connector/Python driver is thread-safe and supports connection
pooling, whereas mysqlclient does not have built-in connection pooling
capabilities.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While MySQL Connector/Python supports connection pooling through mysql.connector.pooling source Django itself doesn't make use of it like we do with Postgres so I wonder if its even worth pointing out. Thoughts on that @sarahboyce and @apollo13 since you worked on fad334e.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think its worth mentioning mysqlclient, or should this note be removed altogether?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in fdae943.

@apollo13
Copy link
Member

apollo13 commented Aug 24, 2024 via email

@Hisham-Pak Hisham-Pak changed the title Fixed #35702 -- Clarified mysqlclient does not provide connection pooling. Fixed #35702 -- Removed connection pooling note for mysql drivers. Aug 28, 2024
Copy link
Contributor

@sarahboyce sarahboyce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Hisham-Pak

@sarahboyce sarahboyce merged commit 2b2a2c0 into django:main Aug 30, 2024
28 checks passed
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 this pull request may close these issues.

5 participants