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