mariadb: initial commit
This commit is contained in:
1
templates/init_root_password.ini
Normal file
1
templates/init_root_password.ini
Normal file
@@ -0,0 +1 @@
|
||||
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('{{ mysql_root_password }}') ;
|
||||
8
templates/mysql_logrotate
Normal file
8
templates/mysql_logrotate
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ mariadb_server_log }} {
|
||||
daily
|
||||
rotate 7
|
||||
create 0640 mysql wheel
|
||||
postrotate
|
||||
/usr/bin/mysqladmin flush-logs
|
||||
endscript
|
||||
}
|
||||
4
templates/root-my.cnf.j2
Normal file
4
templates/root-my.cnf.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
[client]
|
||||
host=localhost
|
||||
user={{ mariadb_root_username }}
|
||||
password={{ mariadb_root_password }}
|
||||
Reference in New Issue
Block a user