fixes to mysql runit and phpmyadmin installation scripts

This commit is contained in:
2016-05-22 14:55:56 +01:00
parent 0f1569663c
commit f728b94bcf
2 changed files with 1 additions and 3 deletions

View File

@@ -4,6 +4,5 @@ mkdir -p `dirname $MYSQL_LOG`
if [ ! -d $MYSQL_DATA ]; then
mkdir `dirname $MYSQL_DATA`
cp /var/lib/mysql/ $MYSQL_DATA -R
chown mysql:mysql $MYSQL_DATA -R
fi
/usr/bin/mysqld_safe --skip-syslog > /host/var/log/mysql/daemon.log
/usr/bin/mysqld_safe --skip-syslog