my.cnf Per Server Settings
You can configure my.cnf
settings on a per-server basis for both MySQL and MariaDB.
Before applying any settings, Enhance will verify that the MySQL server accepts the changes without errors. A MySQL restart will be required for the settings to take effect.
Steps to Configure my.cnf Settings on a Per Server Basis:
- Open Servers in the left sidebar.
- Locate the server you want to edit.
- Click Manage in the dropdown.
- Scroll to Roles.
- Select the Database tab and click my.cnf.
- Click Save to finish.
Common Settings to Adjust:
sql_mode
key_buffer_size
sort_buffer_size
innodb_buffer_pool_size
max_allowed_packet
This is not an exhaustive list. Be sure to research and test any changes before applying them in a production environment.