mysql赋予权限的操作
GRANT select on db.* TO 'ds'@'%' WITH GRANT OPTION;
GRANT select on db.* TO 'ds'@'localhost' WITH GRANT OPTION;
--远程访问的权限
grant super,replication slave,replication client on *.* to ds @'%' identified by 'ds密码';
--本地访问的权限
grant super,replication slave,replication client on *.* to ds @'localhost' identified by 'ds密码';