✍ Edit: 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] # --- Core Performance & Compatibility --- disable-log-bin=1 default-authentication-plugin=mysql_native_password performance-schema=0 # --- Basic Settings --- datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock pid-file=/var/run/mysqld/mysqld.pid bind-address=127.0.0.1 mysqlx=0 open_files_limit=40000 # --- Error Logging --- log-error=/var/log/mysqld.log log_error_suppression_list='MY-013360' # --- Connection & Timeout Limits --- max_connections=300 wait_timeout=300 interactive_timeout=300 max_allowed_packet=268435456 # --- InnoDB Settings (Crucial for WHMCS & Shared Hosting) --- innodb_file_per_table=1 innodb_buffer_pool_size=8G innodb_buffer_pool_instances=8 innodb_flush_log_at_trx_commit=2 # --- RAM / Temporary Table Allocations --- tmp_table_size=128M max_heap_table_size=128M join_buffer_size=4M sort_buffer_size=4M read_buffer_size=2M
⬅ Kembali
Powered by
H3 Team
2026