Initial version MySQL module.

This commit is contained in:
Timo Mkinen 2009-09-17 23:04:21 +03:00
parent 685ecc9810
commit 598a1d440b
3 changed files with 76 additions and 0 deletions

11
mysql/files/my.cnf Normal file
View file

@ -0,0 +1,11 @@
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients.
old_passwords=1
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

View file

@ -0,0 +1,9 @@
/var/log/mysqld*.log {
create 0640 mysql mysql
notifempty
daily
compress
postrotate
mysqladmin -ulogrotate flush-logs
endscript
}