Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to store image in mysql with c# if image size is small
then work complate successfull but image size is big
then give error is 'connection close during quarey' so what i do you do?
Posted

1 solution

You should correct max_allowed_packet setting in my.ini config of mysql: here you can see something like your case
http://www.vbulletin.com/forum/showthread.php?45095-MySQL-error-MySQL-Connection-Failed-Lost-connection-to-MySQL-server-during-query[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900