Commit | Line | Data |
---|---|---|
ae147938 AC |
1 | #!/bin/sh -e |
2 | ||
3 | case $1 in | |
4 | adduser) | |
21d921a5 | 5 | echo "I would create MySQL user $2 with password $3." |
ae147938 AC |
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 |