Skip to content

Commit eea4046

Browse files
Remove symbolic link my.cnf
As discussed in Discord Co-Authored-By: Alexandros Ioannides <22378378+ioannidesalex@users.noreply.github.com>
1 parent f862aaa commit eea4046

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

install/hst-install-debian.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,8 +1323,10 @@ if [ "$mysql" = 'yes' ]; then
13231323
if [ $memory -gt 3900000 ]; then
13241324
mycnf="my-large.cnf"
13251325
fi
1326-
1327-
# Configuring MariaDB
1326+
1327+
#remove symbolic link
1328+
rm /etc/mysql/my.cnf
1329+
# Configuring MariaDB
13281330
cp -f $HESTIA_INSTALL_DIR/mysql/$mycnf /etc/mysql/my.cnf
13291331
mysql_install_db >> $LOG
13301332

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,6 +1364,8 @@ if [ "$mysql" = 'yes' ]; then
13641364
mycnf="my-large.cnf"
13651365
fi
13661366

1367+
#remove symbolic link
1368+
rm /etc/mysql/my.cnf
13671369
# Configuring MariaDB
13681370
cp -f $HESTIA_INSTALL_DIR/mysql/$mycnf /etc/mysql/my.cnf
13691371
mysql_install_db >> $LOG

0 commit comments

Comments
 (0)