#创建存放导出数据的文件夹 if [ ! -d "./"${document_name} ]; then mkdir ${document_name} fi
#查询表名的sql语句 sql_query_table='select table_name from information_schema.tables where table_schema="'${source_db}'" and table_name like "'${table_prefix}'%";' #mysql执行参数 mysql_params='-u'${source_username}' -P'${source_port}' -h'${source_host}' '${source_db}
#密码参数 if [ $source_password ];then mysql_params=${mysql_params}' -p'${source_password} fi