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

View File

@@ -9,7 +9,6 @@ wget https://files.phpmyadmin.net/phpMyAdmin/$PMA_VERSION/phpMyAdmin-$PMA_VERSIO
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz phpMyAdmin-$PMA_VERSION-all-languages
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
rm -rf $PMA_ROOT
mkdir -p $PMA_ROOT
ln -sf /opt/phpMyAdmin-$PMA_VERSION $PMA_ROOT
## Configuration