21 lines
442 B
Plaintext
21 lines
442 B
Plaintext
|
[mysqld]
|
||
|
max_connections = 200
|
||
|
max_password_errors = 5
|
||
|
require_secure_transport = ON
|
||
|
|
||
|
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
|