3

What's the difference between PyMySQL and mysqlclient-python? · Issue #342 · PyM...

 1 year ago
source link: https://github.com/PyMySQL/PyMySQL/issues/342
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

What's the difference between PyMySQL and mysqlclient-python? #342

Closed

elad661 opened this issue on May 23, 2015 · 3 comments

Comments

PyMySQL and mysqlclient-python seem to be very similar: Both aim to be a mysql connector to python that aims to maintain compatibility with MySQLdb.

I know there's a difference in the implementation details (PyMySQL being pure python), but it's unclear to me which one I should use, and which implementation is superior.

Member

methane commented on May 23, 2015

mysqlclient-python is much faster than PyMySQL.
When to use PyMySQL is:

  • You can't use libmysqlclient for some reason
  • You want to use monkeypatched socket of gevent or eventlet
  • You wan't to hack mysql protocol
gyli, JimLee1996, devbas, a1Gupta, MackDT, anhtranbk, infdahai, ryomo, bajrang0789, wzyboy, and 12 more reacted with thumbs up emoji All reactions

it is very nice!

github-actions bot

locked as resolved and limited conversation to collaborators

on Aug 2, 2021

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Assignees

No one assigned

Labels
None yet
Projects

None yet

Milestone

No milestone

Development

No branches or pull requests

4 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK