Bug #25151 | Reading from the stream has failed Exception in MySQL Connector 5.0.2 | ||
---|---|---|---|
Submitted: | 18 Dec 2006 16:20 | Modified: | 25 Jan 2011 8:17 |
Reporter: | Gauthier dV | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 5.0.2 beta | OS: | Windows (Windows XP SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Connection, failed, MySqlClient, MySqlException, read, Reading, stream, transport, unable |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file