Password prompts for MySQL adduser
[hcoop/domtool2.git] / src / plugins / domtool-mysql
1 #!/bin/sh -e
2
3 case $1 in
4 adduser)
5 echo "I would create MySQL user $2 with password $3."
6 ;;
7 createdb)
8 echo "I would create MySQL table $2_$3 for user $2."
9 ;;
10 *)
11 echo "Usage: domtool-mysql [adduser <user> | createdb <user> <table>]"
12 ;;
13 esac