创建用户
CREATE USER 'mag'@'%' IDENTIFIED BY 'magmysql123'
授权
grant Select, Insert, Update, Delete, Create, Drop, References, Index, Alter
on mag.* to mag;
CREATE USER 'mag'@'%' IDENTIFIED BY 'magmysql123'
grant Select, Insert, Update, Delete, Create, Drop, References, Index, Alter
on mag.* to mag;