Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

CDK Error: no such file or directory (generic:2) (no replies)

$
0
0
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.

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>