We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cc9510 commit 89f4316Copy full SHA for 89f4316
scripts/features/mariadb.sh
@@ -25,7 +25,7 @@ service apparmor stop
25
update-rc.d -f apparmor remove
26
27
# Remove MySQL
28
-apt-get -o Dpkg::Options::="--force-confnew" remove -y --purge mysql-server mysql-client mysql-common
+apt-get -o Dpkg::Options::="--force-confnew" remove -y --purge mysql-server mysql-client
29
apt-get autoremove -y
30
apt-get autoclean
31
@@ -43,7 +43,7 @@ mkdir /etc/mysql
43
touch /etc/mysql/debian.cnf
44
45
# Install MariaDB
46
-apt-get install -y mariadb-server mariadb-client
+apt-get -o Dpkg::Options::="--force-confnew" install -y mariadb-server mariadb-client mysql-common
47
48
# Configure Maria Remote Access and ignore db dirs
49
sed -i "s/bind-address = 127.0.0.1/bind-address = 0.0.0.0/" /etc/mysql/mariadb.conf.d/50-server.cnf
0 commit comments