Bind address configurable

This commit is contained in:
Tobias Herre 2023-10-14 15:16:55 +02:00
parent 7fd07e9ebe
commit 4d35d5c79e
1 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# #
[client-server] [client-server]
port = {{vars.mysql.port}} port = {{vars.cfg.mysql.port}}
socket = /run/mysqld/mysqld.sock socket = /run/mysqld/mysqld.sock
#[mysql] #[mysql]
@ -11,10 +11,10 @@ socket = /run/mysqld/mysqld.sock
#no_auto_rehash #no_auto_rehash
[mysqld] [mysqld]
log-error =/var/log/mysql/mysqld.log #log-error =/var/log/mysql/mysqld.log
user = {{vars.mysql.user}} user = {{vars.mysql.cfg.user}}
port = {{vars.mysql.port}} port = {{vars.mysql.cfg.port}}
bind-address = 127.0.0.1 bind-address = {{vars.mysql.cfg.bind_address}}
lower_case_table_names = 1 lower_case_table_names = 1