mysql查询、创建、删除用户

1、图示:
mysql查询、创建、删除用户_第1张图片
2、

create user canal identified by 'canal';
GRANT SELECT, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'canal'@'%';
FLUSH PRIVILEGES;
drop user 'canal'@'%';

你可能感兴趣的:(知识图谱)