Comments (4)
Updated by [email protected] on 2010-12-02T23:36:31
Original ticket set status to Started (we converted to open)
from pymysql.
Updated by [email protected] on 2010-12-03T07:27:53
The problem is that the packet number is completely ignored in PyMySQL:
http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol#The_Packet_Header
Payloads larger than 16Mb should be split in at most 16Mb packets and sent sequentially incrementing the packet number.
We found the problem while working on the SSL patch, but at the times fixing this was out of our scope.
from pymysql.
Updated by [email protected] on 2010-12-03T10:44:12
Here's a patch fixing the issue.
Please note that for the test to pass you probably need to tweak max_allowed_packet in your my.cnf (defaults to 16Mb)
from pymysql.
Updated by [email protected] on 2010-12-08T05:57:14
Thanks Evax. Rolled your patch into r43. Also tweaked the unit test to instead < 1 mb.
Pete
Original ticket set status to Fixed (we converted to closed)
from pymysql.
Related Issues (20)
- WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. HOT 1
- Feature? If `connection.host` contains port number, connection fails HOT 1
- PyMYSQL connection issue with dble.
- %d format: a number is required, not str
- use `order by %s` not work HOT 1
- Autocommit not functioning properly HOT 2
- Display log exception when MySQL throws Too many connections exception. HOT 1
- update with conditional value is impacted by pass in params HOT 2
- AUR PKGBUILD calls for setup.py HOT 3
- Questions about Copilot + Open Source Software Hierarchy HOT 2
- Is there any way to get this library to set the SNI field when establishing a TLS connection? HOT 3
- Is there a way to get all the printed messages from a stored procedure that is executed with Cursor.execute()? HOT 1
- pymysql.connect mistakenly throws a cryptography dependency missing error when given an incorrect sha256 password HOT 4
- Option to add a timeout for ping HOT 1
- blocking dict parameter is potentially a breaking change HOT 9
- UnboundLocalError occurs when MySQLResult fails to initialize due to SystemExit exception
- Insert uuid.uuid4() bug HOT 13
- Insert uuid.uuid4() bug. different from officer library `mysql-connect-python` HOT 2
- `connect_timeout` Parameter to pymysql.connect Not Triggering Connection Error but read_timeout does
- Changes commited even though autocommit=False HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymysql.