summaryrefslogtreecommitdiffstats
path: root/mysql/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-04-03 20:34:39 +0200
committertnut <tnut at nutyx dot com>2012-04-03 20:34:39 +0200
commit9dbdf7708fd32c401b8a9b569e3840302ffbce3e (patch)
tree58931ed2bfdb02dd50a48250177283709572bf16 /mysql/post-install
parent41d5553a4fc8a59664c74125424c90641d67a950 (diff)
downloadnutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.tar.gz
nutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.tar.bz2
nutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.tar.xz
nutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.zip
mysql est un service donc dans base
Diffstat (limited to 'mysql/post-install')
-rwxr-xr-xmysql/post-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql/post-install b/mysql/post-install
new file mode 100755
index 000000000..819f2e537
--- /dev/null
+++ b/mysql/post-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql
+chgrp mysql /srv/mysql{,/test,/mysql}