summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-07-22 13:53:15 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-07-22 13:53:15 +0000
commitc2c5dc4a85f4eecfd7f5e8086837bd7997cbe721 (patch)
treed2611a523d79871d24f0d4b3990fee9895674e78 /www-apps/openca/files/mysql-setup.sql.in
parentUgly ebuilds for kvm but they suit my needs for now. :-) (diff)
downloadphilantrop-c2c5dc4a85f4eecfd7f5e8086837bd7997cbe721.tar.gz
philantrop-c2c5dc4a85f4eecfd7f5e8086837bd7997cbe721.tar.bz2
philantrop-c2c5dc4a85f4eecfd7f5e8086837bd7997cbe721.zip
Some random ebuild stuff.
svn path=/trunk/; revision=16
Diffstat (limited to 'www-apps/openca/files/mysql-setup.sql.in')
-rwxr-xr-xwww-apps/openca/files/mysql-setup.sql.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/www-apps/openca/files/mysql-setup.sql.in b/www-apps/openca/files/mysql-setup.sql.in
new file mode 100755
index 0000000..07b1705
--- /dev/null
+++ b/www-apps/openca/files/mysql-setup.sql.in
@@ -0,0 +1,5 @@
+GRANT USAGE ON openca.* TO 'openca'@'localhost' IDENTIFIED BY '@dbpass@';
+
+GRANT SELECT, INSERT, UPDATE, DELETE ON openca.* TO 'openca'@'localhost';
+
+CREATE DATABASE IF NOT EXISTS openca;