wok-current view postfixadmin/stuff/etc/mysql.d/postfixadmin @ rev 24248

updated perl-net-telnet (3.04 -> 3.05)
author Hans-G?nter Theisgen
date Sun Jan 02 09:35:45 2022 +0100 (2022-01-02)
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