summaryrefslogtreecommitdiffstats
path: root/extra/mysql/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-15 17:00:13 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-15 17:00:13 +0100
commit248a2cd669c92ae49beb94c71f6f8a1f8224f376 (patch)
tree9251db92828815c1738f1957bfe1c65477473358 /extra/mysql/post-install
parentb56018531f9cc5949fc0cdc6a4d2e57529deaef2 (diff)
downloadnutyx-extra-248a2cd669c92ae49beb94c71f6f8a1f8224f376.tar.gz
nutyx-extra-248a2cd669c92ae49beb94c71f6f8a1f8224f376.tar.bz2
nutyx-extra-248a2cd669c92ae49beb94c71f6f8a1f8224f376.tar.xz
nutyx-extra-248a2cd669c92ae49beb94c71f6f8a1f8224f376.zip
mysql ajout post-install et ajuster le README
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..984d07202
--- /dev/null
+++ b/extra/mysql/post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+
+mysql_install_db --user=mysql
+chgrp -v mysql /srv/mysql{,/test,/mysql}
+install -m755 -o mysql -g mysql -d /var/run/mysql