wok view postfixadmin/stuff/etc/mysql.d/postfixadmin @ rev 14523

Up: transmission-cli (2.52)
author Richard Dunbar <mojo@slitaz.org>
date Fri May 17 03:22:11 2013 +0000 (2013-05-17)
parents
children
line source
1 #!/bin/sh
3 mysqldump postfix > /dev/null 2>&1 || mysql <<EOT
4 CREATE DATABASE postfix;
5 CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'postfix';
6 GRANT ALL PRIVILEGES ON `postfix` . * TO 'postfix'@'localhost';
7 EOT
9 chmod -x /etc/mysql.d/postfixadmin