Skip to content

Instantly share code, notes, and snippets.

@orangewolf
Created September 14, 2022 15:55
Show Gist options
  • Save orangewolf/617751b1581e5a42fde3ffccd80a2a32 to your computer and use it in GitHub Desktop.
Save orangewolf/617751b1581e5a42fde3ffccd80a2a32 to your computer and use it in GitHub Desktop.
gbh ams2 mysql-server-config
#
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
#
# See the examples of server my.cnf files in /usr/share/mysql/
#
# this is read by the standalone daemon and embedded servers
[server]
# this is only for the mysqld standalone daemon
[mysqld]
# wait_timeout = 600
max_allowed_packet = 2048M
max_connections = 500
innodb_log_file_size = 2048M
# this is only for embedded server
[embedded]
# This group is only read by MariaDB-5.5 servers.
# If you use the same .cnf file for MariaDB of different versions,
# use this group for options that older servers don't understand
[mysqld-5.5]
# These two groups are only read by MariaDB servers, not by MySQL.
# If you use the same .cnf file for MySQL and MariaDB,
# you can put MariaDB-only options here
[mariadb]
[mariadb-5.5]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment