Error at Update time
Posted: Sat 09 Feb 2008 08:51
Hi Alexey...
I am having some problem with Update command of Mysqldataadapter of Mydirect.Net.
I am updating a row in which a field contains 3 mb data.
Data type of this field is LONGTEXT.
Now when i insert this row,It gives error message as below.
"Lost connection to MySQL server during query"
CoreLab.MySql.MySqlException
errorcode:2013
I searched and changed some variables in Mysql server as below.
wait_timeout
max_allowed_packet
write_timeOut
read_timeout
I set all this field to proper amount of time.
--->I saw a property of Mysqladapter named "UpdateBatchtime".Do i need to change this property???
Thanks
Amish
I am having some problem with Update command of Mysqldataadapter of Mydirect.Net.
I am updating a row in which a field contains 3 mb data.
Data type of this field is LONGTEXT.
Now when i insert this row,It gives error message as below.
"Lost connection to MySQL server during query"
CoreLab.MySql.MySqlException
errorcode:2013
I searched and changed some variables in Mysql server as below.
wait_timeout
max_allowed_packet
write_timeOut
read_timeout
I set all this field to proper amount of time.
--->I saw a property of Mysqladapter named "UpdateBatchtime".Do i need to change this property???
Thanks
Amish