Bug #37278 SQLDriverConnect truncates the 5th parameter to 52 characters
Submitted: 9 Jun 2008 10:20 Modified: 10 Oct 2008 13:51
Reporter: Bogdan Matasaru Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:5.1.4 OS:Windows
Assigned to: Jess Balint CPU Architecture:Any
Tags: Connect string, SQLDriverConnect

File: Maximum allowed size is 50MB.
Description:
Privacy:

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:

[9 Jun 2008 11:44] Bogdan Matasaru
Select Tools/ODBC Test from the menu to show the retrieved connection string

Attachment: TestODBC.zip (application/zip, text), 29.48 KiB.

[9 Jun 2008 11:56] Bogdan Matasaru
Updated test that displays also the length of resulting connection string.

Attachment: TestODBC.zip (application/zip, text), 29.46 KiB.

[11 Jun 2008 13:04] Tonci Grgin
Your test case result

Attachment: Bug37278.JPG (image/jpeg, text), 73.65 KiB.

[12 Jun 2008 6:34] Bogdan Matasaru
I added code that tries to open the connection based on the returned string.

Attachment: TestODBCDoc.cpp (text/plain), 1.79 KiB.

[25 Jun 2008 19:22] Niklas Lindquist
Connection

Attachment: mysqlodbc.png (image/png, text), 30.38 KiB.

[25 Jun 2008 19:29] Niklas Lindquist
The immediate result of the connect call

Attachment: mysqlodbcdbg.png (image/png, text), 48.16 KiB.