创建test用户,密码是1234。
MySQL u root -p CREATE USER 'test'@'localhost' IDENTIFIED BY '1234'; #本地登录 CREATE USER 'test'@'%' IDENTIFIED BY '1234'; #远程登录 quit
mysql -u test -p #测试是否创建成功
posted on 2018-04-26 09:59 浅情孤唐 阅读(210) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 浅情孤唐 Powered by .NET 8.0 on Kubernetes