better mysql config

This commit is contained in:
2018-10-29 13:26:53 +01:00
parent 01384e7918
commit 6d41024a76
3 changed files with 19 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ echo -e "\033[35;1minstalling Mysql \033[0m"
sleep 3
apt-get --yes --force-yes install mariadb-server
mysql_secure_installation
cp "$_assets"/mysql/innodb-file-per-table.cnf /etc/mysql/conf.d/
systemctl enable mariadb.service
systemctl restart mariadb.service
echo -e "\033[92;1mmysql installed\033[Om"