move mariadbsetup

This commit is contained in:
MintHCM-admin 2025-12-23 09:05:20 +01:00
parent 410bcdfa47
commit 9e2c7a3a0e

View File

@ -59,8 +59,8 @@ $STD /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
systemctl enable -q --now elasticsearch systemctl enable -q --now elasticsearch
msg_ok "Set up Elasticsearch" msg_ok "Set up Elasticsearch"
msg_info "Setting up MariaDB"
setup_mariadb setup_mariadb
msg_info "Setting up MariaDB"
$STD mariadb -u root -e "SET GLOBAL sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'"; $STD mariadb -u root -e "SET GLOBAL sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'";
msg_ok "Set up MariaDB" msg_ok "Set up MariaDB"