summaryrefslogtreecommitdiffstats
path: root/extra/mysql/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mysql/post-install')
-rwxr-xr-xextra/mysql/post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/mysql/post-install b/extra/mysql/post-install
new file mode 100755
index 000000000..056fe5500
--- /dev/null
+++ b/extra/mysql/post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+
+mysql_install_db --user=mysql
+chgrp mysql /srv/mysql{,/test,/mysql}
+install -m755 -o mysql -g mysql -d /var/run/mysql