linux 创建mysql用户以及同名数据库并授权的shell脚本
#!/bin/bash username="wp_$1" password=$2 mysql -uroot -e "CREATE USER '${username}'@'%' IDENTIFIED BY '${password}'" mysql -uroot -e "CREATE DATABASE ...
2023-08-12
👁️ 1157