CREATE USER '用户名'@'可连接ip,%表示任意ip' IDENTIFIED BY '密码';
DROP USER [IF EXISTS]存在才删除 user [, user] ...用户列表
DROP USER IF EXISTS 用户名
GRANT All ON *.* TO '用户名'@'%';
Powered by: 博客园 Copyright © 2025 luozili Powered by .NET 9.0 on Kubernetes