tdbimage packet size too small---getting a exception

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ashlar

tdbimage packet size too small---getting a exception

Post by ashlar » Wed 07 Jun 2006 13:59

I am also using the TDBImage component.....and I am getting this exception...

Project Site_Builder.exe raised exception class EMySqlException with message 'Got a packet bigger than 'max_allowed_packet". Process stopped. Use Step or Run to continue.

I know you need to set the server and client to use bigger packet sizes....
I know how to set the server to use bigger packets....but how do you do the client? Do you just use a TCommand or something? And if so what would be the syntax.

Here is a link to the article at mysql.com
http://dev.mysql.com/doc/refman/5.1/en/ ... large.html

---Dave

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 07 Jun 2006 15:05

You can set this option on the server only. There is no such option to set on the client.

Post Reply