HEX
Server: Apache
System: Linux hl-lw12.viettelidc.com.vn 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User: sinoconcordvn (1032)
PHP: 7.4.33
Disabled: show_source, system, shell_exec, passthru, exec, proc_open, allow_url_fopen, symlink, exec, proc_close, dl, escap, eshellarg, escapeshellcmd, popen, allow_url_include
Upload Files
File: //etc/my.cnf
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html

[mysqld]
disable-log-bin=1
default-authentication-plugin=mysql_native_password
performance-schema=0
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove the leading "# " to disable binary logging
# Binary logging captures changes between backups and is enabled by
# default. It's default setting is log_bin=binlog
# disable_log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
#
# Remove leading # to revert to previous value for default_authentication_plugin,
# this will increase compatibility with older clients. For background, see:
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
# default-authentication-plugin=mysql_native_password

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
innodb_buffer_pool_size=134217728
max_allowed_packet=268435456
open_files_limit=40000
innodb_file_per_table=1
mysqlx=0

### IDC Custom SQL Config ###
## Blinding on local host only ##
bind-address=127.0.0.1
## Turn off Strict SQL mode ##
sql_mode=NO_ENGINE_SUBSTITUTION
## config support moodle ##
## Config fix error innodb_log_file full make sql slow ##
# Dependent on disk space /var #
innodb_log_file_size=2G
## Optimal speed sql ##
# Depent on Ram of system #
# Set innodb-buffer-pool-size equal 25% RAM - Some person recommend 50% #
# Set innodb-buffer-pool-size = a * innodb_buffer_pool_chunk_size * innodb_buffer_pool_instances #
# Set innodb-buffer-pool-size equal 10% RAM - Some person recommend 20% #
innodb-buffer-pool-size=8G
innodb-buffer-pool-instances=8
key_buffer_size=1G
## Change default charset on MySQL8 (Mysql 5 different) ##
character-set-server=utf8