/[smeserver]/rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0.bz11672-max_allowed_packet.patch
ViewVC logotype

Annotation of /rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0.bz11672-max_allowed_packet.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Aug 17 15:16:51 2021 UTC (3 years, 3 months ago) by jcrisp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-22_el7_sme, HEAD
* Tue Aug 17 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-22.sme
- Remove template and set default max_allowed_packet=16M

1 jcrisp 1.1 diff -ruN e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/011max_allowed_packet e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/011max_allowed_packet
2     --- e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/011max_allowed_packet 2021-08-17 16:58:43.121188950 +0200
3     +++ e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/011max_allowed_packet 1970-01-01 01:00:00.000000000 +0100
4     @@ -1 +0,0 @@
5     -max_allowed_packet=16M
6     diff -ruN e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/014server_system_variables e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/014server_system_variables
7     --- e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/014server_system_variables 2021-08-17 16:58:43.121188950 +0200
8     +++ e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/014server_system_variables 2021-08-17 16:59:34.764024777 +0200
9     @@ -74,7 +74,7 @@
10     #default 100
11     $OUT .= "max_connect_errors=$var\n" if defined $var;
12    
13     - $var = ${'mariadb'}{'MaxAllowedPacket'} || '4M';
14     + $var = ${'mariadb'}{'MaxAllowedPacket'} || '16M';
15     #default 4M
16     $OUT .= "max_allowed_packet=$var\n" if defined $var;
17    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed