mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
Adding File for CentOS
This commit is contained in:
parent
9d9aff7feb
commit
7c51515a87
1 changed files with 13 additions and 0 deletions
13
mysql/files/CentOS-my.cnf
Normal file
13
mysql/files/CentOS-my.cnf
Normal file
|
@ -0,0 +1,13 @@
|
|||
[mysqld]
|
||||
datadir=/var/lib/mysql
|
||||
socket=/var/lib/mysql/mysql.sock
|
||||
user={{ salt['pillar.get']('mysql:server:user', 'mysql') }}
|
||||
port={{ salt['pillar.get']('mysql:server:port', '3306') }}
|
||||
bind-address={{ salt['pillar.get']('mysql:server:bind-address', '127.0.0.1') }}
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
[mysqld_safe]
|
||||
log-error=/var/log/mysqld.log
|
||||
pid-file=/var/run/mysqld/mysqld.pid
|
||||
|
Loading…
Add table
Reference in a new issue