i'm using delphi 2006 with dbexpmda30.dll version 3.0.1.0, whem i try to save a larger file (over 300kb) tot the mysql 5.19 database my connection is lost
what's wrong? (i'm using direct connection, when using libmysql, problem also occurs)
Maybe this problem is concerned to MySQL server global variable max_allowed_packet. Try to set it to a value that is greater than file size you try loading. For example:
SET GLOBAL max_allowed_packet = 5*1024*1024;
Value of the max_allowed_packet variable shouldn't match maximum size of the file posting to the server, it should be greater than file size. Try to increase value of the max_allowed_packet variable some more. If the problem persists, please report us what error message are you getting.