查询当前db:1 select database() 2 status 3 show tables CREATE USER 'pig'@'%' IDENTIFIED BY ''; use Mysqlcrea
查询当前db:1 select database() 2 status 3 show tables
CREATE USER 'pig'@'%' IDENTIFIED BY '';
use Mysql
create user 'lych'@'%' identified by 'lych00';(%,IP,localhost)
create database lych;
grant all on . to lych;(grant all privileges on lych to lych@'%')
show grants for lych
---待续
--结束END--
本文标题: mysql创建用户与数据库
本文链接: https://lsjlt.com/news/38824.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0