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

bridge-utils: fix WGET_URL and clean
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 21:31:48 2011 +0200 (2011-05-11)
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