Skip to content

Commit

Permalink
feat: 数据库部分添加提示
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsukiro committed Jan 19, 2024
1 parent 517be22 commit 07c7a18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

red='\033[0;31m'
green='\033[0;32m'
yellow='\033[0;33m'
plain='\033[0m'
export PATH=$PATH:/usr/local/bin

Expand Down Expand Up @@ -201,6 +202,7 @@ install_maraidb

setup_database() {
echo -e "${green}开始配置数据库${plain}"
echo -e "${yellow}请无比妥善保存以下信息${plain}"
read -e -r -p "请输入数据库用户名: " db_user
read -e -r -p "请输入数据库密码: " db_password
read -e -r -p "请输入数据库名称: " db_name
Expand Down

0 comments on commit 07c7a18

Please sign in to comment.