摘要:
查看mysql数据库安装版本信息 mysql --version 修改mysql的root密码为123 先登录mysql set password for 用户名@localhost = password('新密'); 创表 use 表名 create table wg (id wg,name ch 阅读全文
摘要:
#!/bin/bashfor i in `seq 1 10`do if id user-$i > /dev/null;then read -ep "user-$i用户已存在是否删除(y/n)" aa if [ $aa = y ];then userdel -rf user-$i elif [ $aa 阅读全文