Skip to content

Commit

Permalink
fix: 修复 MySQL 更新
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Sep 28, 2023
1 parent bde2c50 commit aa0fb2a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/mysql/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ if [ "${mysqlUserCheck}" == "" ]; then
fi

# 准备目录
rm -rf ${mysqlPath}
mkdir -p ${mysqlPath}
cd ${mysqlPath}

# 下载源码
Expand Down Expand Up @@ -98,7 +96,6 @@ cmake .. -DCMAKE_INSTALL_PREFIX=${mysqlPath} -DMYSQL_DATADIR=${mysqlPath}/data -
if [ "$?" != "0" ]; then
echo -e $HR
echo "错误:MySQL 编译初始化失败,请截图错误信息寻求帮助。"
rm -rf ${mysqlPath}
exit 1
fi

Expand All @@ -110,7 +107,6 @@ fi
if [ "$?" != "0" ]; then
echo -e $HR
echo "错误:MySQL 编译失败,请截图错误信息寻求帮助。"
rm -rf ${mysqlPath}
exit 1
fi

Expand All @@ -122,7 +118,6 @@ make install
if [ "$?" != "0" ]; then
echo -e $HR
echo "错误:MySQL 安装失败,请截图错误信息寻求帮助。"
rm -rf ${mysqlPath}
exit 1
fi

Expand Down

0 comments on commit aa0fb2a

Please sign in to comment.