This commit is contained in:
Mr Chen
2024-06-15 20:28:11 +08:00
parent 58274ba9dc
commit 1a41f2d248
31 changed files with 33 additions and 205 deletions
-8
View File
@@ -21,14 +21,6 @@ Install_app()
mkdir -p ${mariadbDir}
echo '正在安装脚本文件...' > $install_tmp
if id mysql &> /dev/null ;then
echo "mysql uid is `id -u www`"
echo "mysql shell is `grep "^www:" /etc/passwd |cut -d':' -f7 `"
else
groupadd mysql
useradd -g mysql mysql
fi
if [ "$sysName" != "Darwin" ];then
mkdir -p /var/log/mariadb
touch /var/log/mariadb/mariadb.log