Get the App
SLTechnology News&Howtos  ›  Servers  › 

Resolve confluence and jira packet issu

Shulou Source: shulou.com Published: 2022-06-02 05:41:29 11月24日 Update

There is a problem:

Default maximum allowable packet is too small, warning InnoDB log file is too small, alarm message occurs

Solution: 1. Modify the database configuration:

Vim / etc/my.cnf

Add the following under [mysqld]:

Innodb_log_file_size = 2G

Innodb_file_per_table = ON

Max_allowed_packet = 512m

Note:

There is a certain proportion of the size value set in this, you can not set the value at will, you can refer to the official documentation or installation tutorial to set it, otherwise it will be wrong!

two。 Restart the database

Systemctl resatrt mysqld

Netstat-ntap | grep 3306

Systemctl status mysqld

3. Web page verification

Refer to the official documentation:

Https://confluence.atlassian.com/confkb/exceeds-max-allowed-packet-for-mysql-179443425.html

Tags: Data official database documents references questions maximum information size tutorials values files methods logs proportions web pages alerts alarms configuration verification Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Technology MySQL Microsoft OPPO Reno