2024-11-05 11:12:42 +00:00
|
|
|
[mysqld]
|
|
|
|
max_connections = 200
|
|
|
|
max_password_errors = 5
|
2024-11-26 09:31:39 +00:00
|
|
|
# require_secure_transport = ON
|
2024-11-05 11:12:42 +00:00
|
|
|
|
|
|
|
skip-networking=0
|
|
|
|
skip-bind-address
|
|
|
|
|
|
|
|
ssl-ca = /ssl/ca-cert.pem
|
|
|
|
ssl-cert = /ssl/server-cert.pem
|
|
|
|
ssl-key = /ssl/server-key.pem
|
|
|
|
# tls_version = TLSv1.2,TLSv1.3
|
|
|
|
|
|
|
|
[mariadb]
|
|
|
|
log_error = /var/log/mysql/mariadb-err.log
|
|
|
|
general_log
|
|
|
|
general_log_file = /var/log/mysql/mariadb.log
|
|
|
|
slow_query_log
|
|
|
|
slow_query_log_file = /var/log/mysql/mariadb-slow.log
|
|
|
|
|
|
|
|
wait_timeout = 20
|