MySQL Forums
Forum List  »  Connector/C++

CDK Error: no such file or directory (generic:2)
Posted by: Allen Allen
Date: July 12, 2022 12:13AM

Hi guys:

There is a longblob type field in my table. When I use the table:: insert() interface to insert, the code will exception and get a prompt: CDK error: no such file or directory (generic:2).

After many tests, I found that as long as the amount of inserted data is reduced to less than 60m, the insertion can succeed, otherwise exceptions will occur.

Does this mean that my code is correct, but there is an error in the MySQL configuration item.

I have set "max_allowed_packet" to 2G, but the exception still exists.

Guys, do you have any suggestions for this.

Options: ReplyQuote


Subject
Views
Written By
Posted
CDK Error: no such file or directory (generic:2)
142
July 12, 2022 12:13AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.