Knowledgebase article 80

1MB Attachment limitation


Can everything HelpDesk's attachment size limitation of 1MB be increased?

Yes! With MySQL, you need to set this in the application and on the database.  Any other databases (MSSQL, Oracle), you just need to set it in the application.

In version 9.X, you can set the allowed attachment size by logging in as Admin and under application configuration, select general. There, you will see a max upload size setting. 
 
In versions 11.x & 12.x, log in as admin and under the General section you will see Max Upload Size.  Here is where you can increase the attachment size.
 
NOTE: You need to set the Max Upload Size to correspond with the Max Allowed Packet size of your database. 

To set the maximum allowed packet size in MySQL, see instructions below. For other databases see your database administrator or vendor.

To allow eHD to add attachments to your database larger than 1MB you need to set the following option in MySQL.


Locate your MySQL configuration file.  In Windows it is usually located in:

C:\Program Files\GroupLink\everything HelpDesk\mysql\my.ini


In Linux (though it varies by distribution it is normally):

/opt/GroupLink/everything HelpDesk/mysql/my.cnf


Open this file using VI or any plain text editor.
In the [mysqld] section, add the following line:


max_allowed_packet=[X]M (where [X] represents the number (in megabytes) that you want to limit the database attachment size.)


Once you add this line, you will need to restart MySQL for the changes to take effect.

Group eHD Standard Support Last modified May 8, 2023 Type Public Viewed 4879