summaryrefslogtreecommitdiffstats
path: root/extra/mysql/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
commit484880add8dae9ada76769e0b16b9bca6c8b37b3 (patch)
tree4c0940cfdea596c1c1c797e3a753e065558aadee /extra/mysql/post-install
parent067c82d499d5bae2258698de65eeb3565664f516 (diff)
downloadnutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.gz
nutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.bz2
nutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.xz
nutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.zip
mysql dans extra
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