摘要: #!/bin/bashMYSQL_USER='root'MYSQL_PWD='Nov2015ember'MYSQL_HOST='localhost'MYSQL_PORT='3306'MYSQL_CONN="/opt/mysql/bin/mysqladmin " if [ $# -ne "1" ];t 阅读全文
posted @ 2020-07-01 16:14 昵称被用了 阅读(370) 评论(0) 推荐(0) 编辑
摘要: create procedure test1(IN init INT,IN end INT) -> begin -> declare Var INT; -> declare id INT; -> set Var = 1; -> set id = init; -> while Var < end do 阅读全文
posted @ 2020-07-01 15:55 昵称被用了 阅读(66) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashbegintime=`date -d "-$1 month" +%Y-%m`lasttime=`date -d "-$2 month" +%Y-%m`mogotime=`date -d "-$1 month" +%Y%m`BeginTimestamp=$[$(date -d " 阅读全文
posted @ 2020-07-01 15:52 昵称被用了 阅读(238) 评论(0) 推荐(0) 编辑