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

updated perl-io-socket-inet6 (2.56 -> 2.72)
author Hans-Günter Theisgen
date Tue Mar 31 09:47:36 2020 +0100 (2020-03-31)
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