Increase MariaDB Default Packet Size
Set max_allowed_packet=8M in /etc/my.cnf or /etc/mysql/mysql.conf.d/mysqld.cnf to prevent packet-too-large errors when storing builds in MariaDB.
Some data files (such as builds and configurations) are stored in MariaDB, so increase the maximum allowed packet size to avoid large-packet errors. For more information, refer to Packet Too Large in the MariaDB documentation.
JFrog recommends using an option file to permanently set the max_allowed_packet parameter in /etc/my.cnf or /etc/mysql/mysql.conf.d/mysqld.cnf. For example:
# The MariaDB server
[MariaDBd]
max_allowed_packet=8MIf
/etc/mysql/mysql.conf.d/mysqld.cnfdoes not exist, create the file under the absolute path and not under _$JFROG_HOME
After you modify this value, restart MariaDB.
Updated 24 days ago
