fixes to mysql runit and phpmyadmin installation scripts
This commit is contained in:
@@ -4,6 +4,5 @@ mkdir -p `dirname $MYSQL_LOG`
|
|||||||
if [ ! -d $MYSQL_DATA ]; then
|
if [ ! -d $MYSQL_DATA ]; then
|
||||||
mkdir `dirname $MYSQL_DATA`
|
mkdir `dirname $MYSQL_DATA`
|
||||||
cp /var/lib/mysql/ $MYSQL_DATA -R
|
cp /var/lib/mysql/ $MYSQL_DATA -R
|
||||||
chown mysql:mysql $MYSQL_DATA -R
|
|
||||||
fi
|
fi
|
||||||
/usr/bin/mysqld_safe --skip-syslog > /host/var/log/mysql/daemon.log
|
/usr/bin/mysqld_safe --skip-syslog
|
||||||
|
|||||||
@@ -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
|
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz phpMyAdmin-$PMA_VERSION-all-languages
|
||||||
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
|
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
|
||||||
rm -rf $PMA_ROOT
|
rm -rf $PMA_ROOT
|
||||||
mkdir -p $PMA_ROOT
|
|
||||||
ln -sf /opt/phpMyAdmin-$PMA_VERSION $PMA_ROOT
|
ln -sf /opt/phpMyAdmin-$PMA_VERSION $PMA_ROOT
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user