success(){
echo -e "$(tput setaf 7)$(tput setab 4)[`date +%T`]$(tput sgr0)$(tput setaf 7)$(tput setab 2)$1$(tput sgr0)"
}
error(){
echo -e "$(tput setaf 7)$(tput setab 4)[`date +%T`]$(tput sgr0)$(tput setaf 7)$(tput setab 1)$1$(tput sgr0)"
}
warning(){
echo -e "$(tput setaf 7)$(tput setab 4)[`date +%T`]$(tput sgr0)$(tput setaf 7)$(tput setab 5)$1$(tput sgr0)"
}
info(){
echo -e "$(tput setaf 7)$(tput setab 4)[`date +%T`]$(tput sgr0)$(tput setaf 7)$(tput setab 4)$1$(tput sgr0)"
}
#######mysql源码安装脚本中使用########