|
@@ -1323,8 +1323,11 @@ if [ "$mysql" = 'yes' ]; then
|
|
|
if [ $memory -gt 3900000 ]; then
|
|
if [ $memory -gt 3900000 ]; then
|
|
|
mycnf="my-large.cnf"
|
|
mycnf="my-large.cnf"
|
|
|
fi
|
|
fi
|
|
|
-
|
|
|
|
|
- # Configuring MariaDB
|
|
|
|
|
|
|
+
|
|
|
|
|
+ # Remove symbolic link
|
|
|
|
|
+ rm -f /etc/mysql/my.cnf
|
|
|
|
|
+
|
|
|
|
|
+ # Configuring MariaDB
|
|
|
cp -f $HESTIA_INSTALL_DIR/mysql/$mycnf /etc/mysql/my.cnf
|
|
cp -f $HESTIA_INSTALL_DIR/mysql/$mycnf /etc/mysql/my.cnf
|
|
|
mysql_install_db >> $LOG
|
|
mysql_install_db >> $LOG
|
|
|
|
|
|