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

Up: pcre to 8.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 23:14:21 2011 +0000 (2011-10-16)
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