mysql 创建用户、分配角色
创建用户
CREATE USER 'sbtest'@'localhost' IDENTIFIED BY 'sbtest';
给用户分配权限
grant all privileges on *.* to sbtest@'localhost';
CREATE USER 'sbtest'@'localhost' IDENTIFIED BY 'sbtest';
grant all privileges on *.* to sbtest@'localhost';