[add]增大mysql的允许包的大小

This commit is contained in:
liang-ys 2026-04-28 14:57:04 +08:00
parent 3cfbb53c90
commit 79f03f12c2
2 changed files with 71 additions and 1 deletions

View File

@ -7,3 +7,7 @@ window环境下的安装卸载脚本StartService.bat 和 StopService.bat
在麒麟环境下由于定制化的操作系统中polkit版本较低只支持 .plka文件机制管理权限而非js的规则文件allow-program-kylin.pkla 在麒麟环境下由于定制化的操作系统中polkit版本较低只支持 .plka文件机制管理权限而非js的规则文件allow-program-kylin.pkla
针对欧拉以非root权限登入polkit .js的规则文档51-custom-authentication.rules 针对欧拉以非root权限登入polkit .js的规则文档51-custom-authentication.rules
针对window系统 添加注册表脚本registry_software.bat
z1-oe-mysql-custom.cnf 针对欧拉环境下使用mysql服务端和客户端数据导入导出配置文件

View File

@ -0,0 +1,66 @@
#****************************************************************************************
[client]
default-character-set = utf8mb4
#****************************************************************************************
# This group is not read by mysql client library,
# If you use the same .cnf file for MySQL and MariaDB,
# use it for MariaDB-only client options
[client-mariadb]
#****************************************************************************************
# this is read by the standalone daemon and embedded servers
[server]
bind-address = 0.0.0.0
port = 3306
character-set-server = utf8mb4
collation-server = utf8mb4_general_ci
lower_case_table_names = 1
default-storage-engine = INNODB
thread_cache_size = 8
max_connections = 512
max_connect_errors = 1000
max_allowed_packet = 256M
query_cache_size = 16M
sql-mode = "NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
#this is the Database Import And Export Configurations
secure_file_priv = ""
local_infile = ON
net_buffer_length = 16384
#** table_cache = 256
#** tmp_table_size = 18M
#*** MyISAM Specific options ***
key_buffer_size = 128M
myisam_max_sort_file_size = 64G
myisam_sort_buffer_size = 35M
#** read_buffer_size = 64K
#** read_rnd_buffer_size = 256K
#** sort_buffer_size = 256K
#*** INNODB Specific options ***
#** innodb_file_per_table = 1
innodb_buffer_pool_size = 128M
innodb_flush_log_at_trx_commit = 2
#** innodb_additional_mem_pool_size = 2M
#** innodb_log_buffer_size = 1M
#** innodb_log_file_size = 24M
#** innodb_thread_concurrency = 8
#****************************************************************************************
# 关闭加密,降低资源开销
[mariadb]
aria-encrypt-tables = off
encrypt-binlog = off
encrypt-tmp-disk-tables = off
encrypt-tmp-files = off
loose-innodb-encrypt-log = off
loose-innodb-encrypt-tables = off