KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Managing Pictures with MySQL and 4D ODBC
PRODUCT: 4D ODBC | VERSION: 6.5 | PLATFORM: Mac & Win
Published On: February 9, 2001
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

If you need to manage pictures using MySQL and 4D ODBC, you need to modify the "max_allowed_packet" variable. This variable has to be set for the maximum size a picture can have. The following command will do this:

mysqld-O max_allowed_packet=16M (for pictures that have a maximum size of 16Mb)