mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00

Found a work-around for the way MySQL treats TIME literals with dates and/or fractional seconds. Added a mutex into the cursor so that connections can be shared between threads. threadsafety=2 I could easily make the cursors sharable as well (threadsafety=3) but I hardly see the point. Even sharing connections is not a good idea, because you don't get the benefit of multiple mysqld threads.
Check Setup.in and make sure it has the right paths for your system. To build: python build.py To install: follow additional instructions after build. Got windows? Read README.windows. Uh, that's it.